public class ClaimsIdentity extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Security.Claims.ClaimsIdentity
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Security.Claims, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Security.Claims
|
static java.lang.String |
className
Qualified class name: System.Security.Claims.ClaimsIdentity
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ClaimsIdentity() |
ClaimsIdentity(BinaryReader reader) |
ClaimsIdentity(BinaryReader reader,
StringComparison stringComparison) |
ClaimsIdentity(IEnumerable_1 claims) |
ClaimsIdentity(IEnumerable_1 claims,
java.lang.String authenticationType) |
ClaimsIdentity(IEnumerable_1 claims,
java.lang.String authenticationType,
java.lang.String nameType,
java.lang.String roleType) |
ClaimsIdentity(IIdentity identity) |
ClaimsIdentity(IIdentity identity,
IEnumerable_1 claims) |
ClaimsIdentity(IIdentity identity,
IEnumerable_1 claims,
java.lang.String authenticationType,
java.lang.String nameType,
java.lang.String roleType) |
ClaimsIdentity(IIdentity identity,
IEnumerable_1 claims,
java.lang.String authenticationType,
java.lang.String nameType,
java.lang.String roleType,
StringComparison stringComparison) |
ClaimsIdentity(java.lang.Object instance)
Internal constructor.
|
ClaimsIdentity(java.lang.String authenticationType) |
ClaimsIdentity(java.lang.String authenticationType,
java.lang.String nameType,
java.lang.String roleType) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddClaim(Claim claim) |
void |
AddClaims(IEnumerable_1 claims) |
static ClaimsIdentity |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ClaimsIdentity, a cast assert is made to check if types are compatible. |
ClaimsIdentity |
Clone() |
IEnumerable_1 |
FindAll(Predicate_1 match) |
IEnumerable_1 |
FindAll(java.lang.String type) |
Claim |
FindFirst(Predicate_1 match) |
Claim |
FindFirst(java.lang.String type) |
ClaimsIdentity |
getActor() |
java.lang.String |
getAuthenticationType() |
NetObject |
getBootstrapContext() |
IEnumerable_1 |
getClaims() |
boolean |
getIsAuthenticated() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getLabel() |
java.lang.String |
getName() |
java.lang.String |
getNameClaimType() |
java.lang.String |
getRoleClaimType() |
boolean |
HasClaim(Predicate_1 match) |
boolean |
HasClaim(java.lang.String type,
java.lang.String value) |
void |
RemoveClaim(Claim claim) |
void |
setActor(ClaimsIdentity Actor) |
void |
setBootstrapContext(NetObject BootstrapContext) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
void |
setLabel(java.lang.String Label) |
boolean |
TryRemoveClaim(Claim claim) |
void |
WriteTo(BinaryWriter writer) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic ClaimsIdentity()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public ClaimsIdentity(BinaryReader reader) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IOException, FormatException, OutOfMemoryException
public ClaimsIdentity(BinaryReader reader, StringComparison stringComparison) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IOException, FormatException, OutOfMemoryException
public ClaimsIdentity(IEnumerable_1 claims) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
public ClaimsIdentity(IEnumerable_1 claims, java.lang.String authenticationType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
public ClaimsIdentity(IEnumerable_1 claims, java.lang.String authenticationType, java.lang.String nameType, java.lang.String roleType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
public ClaimsIdentity(IIdentity identity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
public ClaimsIdentity(IIdentity identity, IEnumerable_1 claims) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
public ClaimsIdentity(IIdentity identity, IEnumerable_1 claims, java.lang.String authenticationType, java.lang.String nameType, java.lang.String roleType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException, InvalidCastException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidCastExceptionpublic ClaimsIdentity(IIdentity identity, IEnumerable_1 claims, java.lang.String authenticationType, java.lang.String nameType, java.lang.String roleType, StringComparison stringComparison) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, ObjectDisposedException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
public ClaimsIdentity(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ClaimsIdentity(java.lang.String authenticationType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public ClaimsIdentity(java.lang.String authenticationType,
java.lang.String nameType,
java.lang.String roleType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException,
ObjectDisposedException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException
public void AddClaim(Claim claim) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
public void AddClaims(IEnumerable_1 claims) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException
public static ClaimsIdentity cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ClaimsIdentity, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedClaimsIdentity instancejava.lang.Throwable - in case of error during cast operationpublic ClaimsIdentity Clone() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
public IEnumerable_1 FindAll(Predicate_1 match) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public IEnumerable_1 FindAll(java.lang.String type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public Claim FindFirst(Predicate_1 match) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public Claim FindFirst(java.lang.String type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, CultureNotFoundException, NullReferenceException
public ClaimsIdentity getActor() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getAuthenticationType()
throws java.lang.Throwable
java.lang.Throwablepublic NetObject getBootstrapContext() throws java.lang.Throwable
java.lang.Throwablepublic IEnumerable_1 getClaims() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsAuthenticated()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getLabel()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getName()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
IndexOutOfRangeException,
OutOfMemoryException,
ExternalException
public java.lang.String getNameClaimType()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getRoleClaimType()
throws java.lang.Throwable
java.lang.Throwablepublic boolean HasClaim(Predicate_1 match) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public boolean HasClaim(java.lang.String type,
java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
CultureNotFoundException,
NullReferenceException
public void RemoveClaim(Claim claim) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, IndexOutOfRangeException, InvalidOperationException
public void setActor(ClaimsIdentity Actor) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public void setBootstrapContext(NetObject BootstrapContext) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObjectpublic void setLabel(java.lang.String Label)
throws java.lang.Throwable
java.lang.Throwablepublic boolean TryRemoveClaim(Claim claim) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionpublic void WriteTo(BinaryWriter writer) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, CultureNotFoundException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, OutOfMemoryException, ExternalException, ArrayTypeMismatchException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionArgumentNullExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionExternalExceptionArrayTypeMismatchException