public class ClaimsIdentity extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/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: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: mscorlib
|
static java.lang.String |
className
Qualified class name: System.Security.Claims.ClaimsIdentity
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
ClaimsIdentity() |
ClaimsIdentity(BinaryReader reader) |
ClaimsIdentity(IIdentity identity) |
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) |
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() |
Claim |
FindFirst(java.lang.String type) |
ClaimsIdentity |
getActor() |
java.lang.String |
getAuthenticationType() |
NetObject |
getBootstrapContext() |
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
|
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(java.lang.String type,
java.lang.String value) |
void |
RemoveClaim(Claim claim) |
void |
setActor(ClaimsIdentity Actor) |
void |
setBootstrapContext(NetObject BootstrapContext) |
void |
setJCOInstance(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 ClaimsIdentity()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionpublic ClaimsIdentity(BinaryReader reader) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, EndOfStreamException, ArgumentOutOfRangeException, FormatException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, IOException
public ClaimsIdentity(IIdentity identity) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionpublic ClaimsIdentity(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ClaimsIdentity(java.lang.String authenticationType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionpublic ClaimsIdentity(java.lang.String authenticationType,
java.lang.String nameType,
java.lang.String roleType)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
ArgumentOutOfRangeException,
KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionpublic void AddClaim(Claim claim) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, KeyNotFoundException, InvalidOperationException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionKeyNotFoundExceptionInvalidOperationExceptionpublic 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, ArgumentNullException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, KeyNotFoundException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionKeyNotFoundExceptionpublic Claim FindFirst(java.lang.String type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException
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 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 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,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
CultureNotFoundException,
NotSupportedException
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(java.lang.String type,
java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
TypeLoadException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotSupportedException,
CultureNotFoundException
public void RemoveClaim(Claim claim) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, OutOfMemoryException, FormatException
public void setActor(ClaimsIdentity Actor) throws java.lang.Throwable, InvalidOperationException
java.lang.ThrowableInvalidOperationExceptionpublic void setBootstrapContext(NetObject BootstrapContext) throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(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, ArgumentOutOfRangeException
java.lang.ThrowableArgumentOutOfRangeExceptionpublic void WriteTo(BinaryWriter writer) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotSupportedException, ArgumentOutOfRangeException