Module oauth2_config

Erlang OAuth 2.0 implementation.

Description

Erlang OAuth 2.0 implementation

Function Index

backend/0Gets the backend for validating passwords, storing tokens, etc.
expiry_time/0Gets the default expiry time for access tokens.
expiry_time/1Gets a specific expiry time for access tokens if available returns the default if non found.
token_generation/0Gets the backend for generating tokens.

Function Details

backend/0

backend() -> atom()

Gets the backend for validating passwords, storing tokens, etc.

expiry_time/0

expiry_time() -> non_neg_integer()

Gets the default expiry time for access tokens.

expiry_time/1

expiry_time(Flow::atom()) -> non_neg_integer()

Gets a specific expiry time for access tokens if available returns the default if non found

token_generation/0

token_generation() -> atom()

Gets the backend for generating tokens.


Generated by EDoc