| GET | /OAuthCallback |
|---|
import 'package:servicestack/servicestack.dart';
/**
* Callback endpoint that is called after OAuth is complete. Takes code, state and workspaceid query parameters to provision element
*/
class OAuthCallback implements IConvertible
{
OAuthCallback();
OAuthCallback.fromJson(Map<String, dynamic> json) : super();
fromMap(Map<String, dynamic> json) {
return this;
}
Map<String, dynamic> toJson() => {};
getTypeName() => "OAuthCallback";
TypeContext? context = _ctx;
}
TypeContext _ctx = TypeContext(library: 'dev.fieldsquared.com', types: <String, TypeInfo> {
'OAuthCallback': TypeInfo(TypeOf.Class, create:() => OAuthCallback()),
});
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /OAuthCallback HTTP/1.1 Host: dev.fieldsquared.com Accept: text/jsv