MigrantLeap.Auth

<back to all web services

ConfirmEmailHtml

The following routes are available for this service:
GET/api/v1/verifyemail
import 'package:servicestack/servicestack.dart';

class ConfirmEmailHtml implements IConvertible
{
    String? email;
    String? token;
    String? sid;

    ConfirmEmailHtml({this.email,this.token,this.sid});
    ConfirmEmailHtml.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        email = json['email'];
        token = json['token'];
        sid = json['sid'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'email': email,
        'token': token,
        'sid': sid
    };

    getTypeName() => "ConfirmEmailHtml";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'auth.migrantleap.com', types: <String, TypeInfo> {
    'ConfirmEmailHtml': TypeInfo(TypeOf.Class, create:() => ConfirmEmailHtml()),
});

Dart ConfirmEmailHtml DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/v1/verifyemail HTTP/1.1 
Host: auth.migrantleap.com 
Accept: application/json