registerAuthorizationSession method
Future<AuthorizationSessionIntrospectResultDto?>
registerAuthorizationSession(
- String? category,
- AuthorizationSessionRegisterDto? authorizationSessionRegisterDto
Implementation
Future<AuthorizationSessionIntrospectResultDto?> registerAuthorizationSession (
String? category,
AuthorizationSessionRegisterDto? authorizationSessionRegisterDto
) async {
String path = "/authorization-session/$category";
return AuthorizationSessionIntrospectResultDto.fromJson(
await post(path, body: authorizationSessionRegisterDto, exemptClient:true) ?? {}
);
}