AuthType enum
Represents the types of authentication available for API access.
Defines the authentication methods supported by the Stream Core SDK for securing API requests and establishing user identity.
Values
- jwt → const AuthType
-
JSON Web Token authentication.
Uses JWT tokens for authenticated requests with user identity verification. The token contains user claims and is validated by the server.
const AuthType('jwt') - anonymous → const AuthType
-
Anonymous authentication.
Allows unauthenticated access with limited permissions. Used for public content access or guest user scenarios.
const AuthType('anonymous')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerValue → String
-
The string value used in authentication headers.
final
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited