Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
Types ¶
type InitParams ¶
type InitParams struct { Router *gin.Engine // Router has the gin engine3 ClientId string // ClientId contains the client ID ClientSecret string // ClientSecret contains the client secret Issuer url.URL // Issuer contains the Issuer URL that signs the JWT token ClientUrl url.URL // ClientURL describes the base url for the application Scopes []string // Scopes describe the defined OAuth scopes that get requested ErrorHandler gin.HandlerFunc // ErrorHandler describes the function that handles the errors PostLogoutUrl url.URL // PostLogoutUrl describes the URL that the user is redirected to after he logs out }
Click to show internal directories.
Click to hide internal directories.