IIdentityApiCreateAuthorizationCode Method |
var identityApi = ctx.Use<IIdentityApi>(); var model = new AuthorizationCodeModel { WorkerSiteDomain = "your-worker.casewhere.com", Username = "NemUser", Claims = new Dictionary<string, string>{ { "CPR", "12345" } }, ExpiredSessionMinutes = 180 }; identityApi.CreateAuthorizationCode(model);
Namespace: Casewhere.Runtime.DSL.Api
string CreateAuthorizationCode( AuthorizationCodeModel authorizationCodeModel )
[Missing <returns> documentation for "M:Casewhere.Runtime.DSL.Api.IIdentityApi.CreateAuthorizationCode(Casewhere.Runtime.DSL.Api.AuthorizationCodeModel)"]