public Task <string> GetRoleIdAsync(TRole role, CancellationToken cancellationToken) { return(Task.FromResult(_options.ConvertIdToString(GetProperty <TRole, object>(role, _options.RoleIdProperty)))); }
public Task <string> GetUserIdAsync(TUser user, CancellationToken cancellationToken) { return(Task.FromResult(_options.ConvertIdToString(GetProperty <TUser, object>(user, _options.UserIdProperty)))); }