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