ApiConfigHandlerAuthFailAction

enum ApiConfigHandlerAuthFailAction : Enum<ApiConfigHandlerAuthFailAction> , ConvertibleToJava<ApiConfigHandlerAuthFailAction>

Action to take when users access resources that require authentication. Defaults to redirect.

Entries

Link copied to clipboard

Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.

Link copied to clipboard

Redirects user to "accounts.google.com". The user is redirected back to the application URL after signing in or creating an account.

Link copied to clipboard

Rejects request with a 401 HTTP status code and an error message.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): ApiConfigHandlerAuthFailAction
Link copied to clipboard

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.

Properties

Link copied to clipboard
val javaValue: ApiConfigHandlerAuthFailAction
Link copied to clipboard
Link copied to clipboard