AuthTokenUtils
Assembly: ServiceStack.dll
View Source
Declaration
public static class AuthTokenUtils
Methods
AddRoles(IAuthTokens, ICollection<String>)
View Source
Declaration
public static void AddRoles(this IAuthTokens authTokens, ICollection<string> roles)
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthTokens | authTokens |
System.Collections.Generic.ICollection<System.String> | roles |
GetRoles(IAuthTokens)
View Source
Declaration
public static string[] GetRoles(this IAuthTokens authTokens)
Returns
System.String[]
Parameters
Type | Name |
---|---|
ServiceStack.Auth.IAuthTokens | authTokens |