LoginRadius v1.0.0 LoginRadius.Infrastructure View Source
Elixir wrapper for the LoginRadius Infrastructure API module, and SOTT generation functions.
Link to this section Summary
Functions
Formats an Elixir DateTime struct into a string following format “YYYY/MM/DD H:i:s”
GET - Generate SOTT: Generates a Secured One Time Token. https://docs.loginradius.com/api/v2/customer-identity-api/session/generate-sott-token
GET - Get Server Time: Queries for basic server information. Time difference is used to generate values for SOTT generation. https://docs.loginradius.com/api/v2/customer-identity-api/configuration/get-server-time
Generates a Secured One Time Token locally
PBKDF2 key derivation function
Appends N bytes with the value of chr(N) where N is the number of bytes required to make the final block of data the same size as block size
Link to this section Functions
Formats an Elixir DateTime struct into a string following format “YYYY/MM/DD H:i:s”
generate_sott(integer()) :: LoginRadius.response()
GET - Generate SOTT: Generates a Secured One Time Token. https://docs.loginradius.com/api/v2/customer-identity-api/session/generate-sott-token
get_server_time(integer()) :: LoginRadius.handle_response()
GET - Get Server Time: Queries for basic server information. Time difference is used to generate values for SOTT generation. https://docs.loginradius.com/api/v2/customer-identity-api/configuration/get-server-time
Generates a Secured One Time Token locally.
PBKDF2 key derivation function.
Appends N bytes with the value of chr(N) where N is the number of bytes required to make the final block of data the same size as block size.