package
0.0.0-20191110003957-35ac193dfecd
Repository: https://github.com/codelympicsdev/api.git
Documentation: pkg.go.dev
# Functions
RootTrustClientValidationMiddleware validates if the root trust client is valid.
Route a auth request.
ScopeValidationMiddleware checks this token has the required scopes.
TokenValidationMiddleware validates the JWT.
# Structs
CheckOTPRequest is a request to check otp credentials for a user.
CheckResponse is the response to a check request.
EnableOTPRequest is the request for enabling otp.
EnableOTPResponse is the response for enabling otp.
GenerateTokenRequest is a request to generate a token.
GenerateTokenResponse is the response for generating a token.
SigninEmailPasswordRequest is a request that gets a user and checks their credentials by email and password.
SigninResponse the response to a signin request.
UpdatePasswordRequest is the request for updating a password.
VerifyOTPRequest is the request for verifying otp.