IManageSourceRolesAsync
Assembly: ServiceStack.dll
View Source
Declaration
public interface IManageSourceRolesAsync
Methods
MergeRolesAsync(String, String, ICollection<String>, CancellationToken)
View Source
Declaration
Task MergeRolesAsync(string userAuthId, string source, ICollection<string> roles, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.String | userAuthId |
System.String | source |
System.Collections.Generic.ICollection<System.String> | roles |
System.Threading.CancellationToken | token |
GetLocalRolesAndPermissionsAsync(String, CancellationToken)
View Source
Declaration
Task<Tuple<ICollection<string>, ICollection<string>>> GetLocalRolesAndPermissionsAsync(string userAuthId, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<System.Tuple<System.Collections.Generic.ICollection<System.String>,System.Collections.Generic.ICollection<System.String>>>
Parameters
Type | Name |
---|---|
System.String | userAuthId |
System.Threading.CancellationToken | token |