/// <summary>
 /// Initializes a new instance of the GetSessionResponse class.
 /// </summary>
 public GetSessionResponse(CustomUserSession result = default(CustomUserSession), UnAuthInfo unAuthInfo = default(UnAuthInfo), ResponseStatus responseStatus = default(ResponseStatus))
 {
     Result         = result;
     UnAuthInfo     = unAuthInfo;
     ResponseStatus = responseStatus;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the UnAssignRolesResponse class.
 /// </summary>
 public UnAssignRolesResponse(IList <string> allRoles = default(IList <string>), IList <string> allPermissions = default(IList <string>), ResponseStatus responseStatus = default(ResponseStatus))
 {
     AllRoles       = allRoles;
     AllPermissions = allPermissions;
     ResponseStatus = responseStatus;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the AuthenticateResponse class.
 /// </summary>
 public AuthenticateResponse(string userId = default(string), string sessionId = default(string), string userName = default(string), string displayName = default(string), string referrerUrl = default(string), string bearerToken = default(string), string refreshToken = default(string), ResponseStatus responseStatus = default(ResponseStatus), IDictionary <string, string> meta = default(IDictionary <string, string>))
 {
     UserId         = userId;
     SessionId      = sessionId;
     UserName       = userName;
     DisplayName    = displayName;
     ReferrerUrl    = referrerUrl;
     BearerToken    = bearerToken;
     RefreshToken   = refreshToken;
     ResponseStatus = responseStatus;
     Meta           = meta;
     CustomInit();
 }