Context

enum Context : Enum<AuthenticationService.Context>

Represents an authentication context.

It is intended to be passed to the authenticate method of the chosen AuthenticationMethod.

Entries

New
Link copied to clipboard
New()

Means the next authentication will be performed "freshly", forgetting the current authentication context if any, resulting in a new authentication context with a single factor.

Current
Link copied to clipboard

Means the next authentication will be performed in the context of the current one, resulting in adding a new authentication factor to it.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int