HttpAuthorizationType

enum HttpAuthorizationType : ProtocolMessageEnum
Enumerates known HTTP authorization types.
Protobuf enum elide.http.HttpAuthorizationType

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val BASIC_VALUE: Int = 1
HTTP Basic authorization.
BASIC = 1;
Link copied to clipboard
val BEARER_VALUE: Int = 3
HTTP Bearer authorization.
BEARER = 3;
Link copied to clipboard
val DIGEST_VALUE: Int = 2
HTTP Digest authorization.
DIGEST = 2;
Link copied to clipboard
Exotic or unknown HTTP authorization type; this indicates a forward-incompatible value and should not be used by
regular application code.
HTTP_AUTHORIZATION_UNKNOWN = 0;

Functions

Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<HttpAuthorizationType>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): HttpAuthorizationType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.