Class HostingAuthUtil
Utility class for hosting authentication
Inheritance
System.Object
HostingAuthUtil
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ImageVault.Common.Security.Management
Assembly: ImageVault.Common.dll
Syntax
public static class HostingAuthUtil
Methods
IsHostingUser(IEnumerable<Claim>)
If the supplied principal is a hosting user
Declaration
public static bool IsHostingUser(IEnumerable<Claim> claims)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.Security.Claims.Claim> | claims |
Returns
Type | Description |
---|---|
System.Boolean |
IsHostingUser(IPrincipal)
If the supplied principal is a hosting user
Declaration
public static bool IsHostingUser(IPrincipal principal)
Parameters
Type | Name | Description |
---|---|---|
System.Security.Principal.IPrincipal | principal |
Returns
Type | Description |
---|---|
System.Boolean |