# Functions
No description provided by the author
No description provided by the author
NativeClient will create a client of type native, which will always use PKCE and allow the use of refresh tokensuser-defined redirectURIs may include: - http://localhost without port specification (e.g.
No description provided by the author
No description provided by the author
No description provided by the author
RefreshTokenRequestFromBusiness will simply wrap the internal RefreshToken to implement the op.RefreshTokenRequest interface.
WebClient will create a client of type web, which will always use Basic Auth and allow the use of refresh tokensuser-defined redirectURIs may include: - http://localhost with port specification (e.g.
# Constants
CustomClaim is an example for how to return custom claims with this library.
CustomScope is an example for how to use custom scopes in this library(in this scenario, when requested, it will return a custom claim).
# Structs
No description provided by the author
Client represents the internal model of an OAuth/OIDC clientthis could also be your database model.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Storage implements the op.Storage interfacetypically you would implement this as a layer on top of your databasefor simplicity this example keeps everything in-memory.
No description provided by the author
No description provided by the author