public static Guid CreateGuid <TScopeClaims, TScecrets>(this AbstractScopeHandle <TScopeClaims, TScecrets> scope ) where TScopeClaims : class where TScecrets : class { return(GuidGenerator.CreateGuid(ScopeConstants.Namespace, scope.Name)); }
public static string ToName <TScopeClaims, TScecrets>(this AbstractScopeHandle <TScopeClaims, TScecrets> scope) where TScopeClaims : class where TScecrets : class { return(scope.Name); }