public enum IdentityType extends Enum<IdentityType> implements com.google.protobuf.ProtocolMessageEnum
Identity types, describes the payload type of the identity field inside the IdentityContext message.Protobuf enum
aserto.authorizer.v2.api.IdentityType| Enum Constant and Description |
|---|
IDENTITY_TYPE_JWT
JWT, identity field contains a JWT access token.
|
IDENTITY_TYPE_MANUAL
Manual, propagates thw identity field as-is, without validation, into the input object.
|
IDENTITY_TYPE_NONE
None, no explicit identity context set, equals anonymous.
|
IDENTITY_TYPE_SUB
Sub(ject), identity field contains an oAUTH subject.
|
IDENTITY_TYPE_UNKNOWN
Unknown, value not set, requests will fail with identity type not set error.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
IDENTITY_TYPE_JWT_VALUE
JWT, identity field contains a JWT access token.
|
static int |
IDENTITY_TYPE_MANUAL_VALUE
Manual, propagates thw identity field as-is, without validation, into the input object.
|
static int |
IDENTITY_TYPE_NONE_VALUE
None, no explicit identity context set, equals anonymous.
|
static int |
IDENTITY_TYPE_SUB_VALUE
Sub(ject), identity field contains an oAUTH subject.
|
static int |
IDENTITY_TYPE_UNKNOWN_VALUE
Unknown, value not set, requests will fail with identity type not set error.
|
| Modifier and Type | Method and Description |
|---|---|
static IdentityType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<IdentityType> |
internalGetValueMap() |
static IdentityType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static IdentityType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static IdentityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityType IDENTITY_TYPE_UNKNOWN
Unknown, value not set, requests will fail with identity type not set error.
IDENTITY_TYPE_UNKNOWN = 0;public static final IdentityType IDENTITY_TYPE_NONE
None, no explicit identity context set, equals anonymous.
IDENTITY_TYPE_NONE = 1;public static final IdentityType IDENTITY_TYPE_SUB
Sub(ject), identity field contains an oAUTH subject.
IDENTITY_TYPE_SUB = 2;public static final IdentityType IDENTITY_TYPE_JWT
JWT, identity field contains a JWT access token.
IDENTITY_TYPE_JWT = 3;public static final IdentityType IDENTITY_TYPE_MANUAL
Manual, propagates thw identity field as-is, without validation, into the input object.
IDENTITY_TYPE_MANUAL = 4;public static final IdentityType UNRECOGNIZED
public static final int IDENTITY_TYPE_UNKNOWN_VALUE
Unknown, value not set, requests will fail with identity type not set error.
IDENTITY_TYPE_UNKNOWN = 0;public static final int IDENTITY_TYPE_NONE_VALUE
None, no explicit identity context set, equals anonymous.
IDENTITY_TYPE_NONE = 1;public static final int IDENTITY_TYPE_SUB_VALUE
Sub(ject), identity field contains an oAUTH subject.
IDENTITY_TYPE_SUB = 2;public static final int IDENTITY_TYPE_JWT_VALUE
JWT, identity field contains a JWT access token.
IDENTITY_TYPE_JWT = 3;public static final int IDENTITY_TYPE_MANUAL_VALUE
Manual, propagates thw identity field as-is, without validation, into the input object.
IDENTITY_TYPE_MANUAL = 4;public static IdentityType[] values()
for (IdentityType c : IdentityType.values()) System.out.println(c);
public static IdentityType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static IdentityType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static IdentityType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<IdentityType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static IdentityType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.