Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnnectRessource ¶
type ConnnectRessource struct {
// contains filtered or unexported fields
}
func NewConnnectRessource ¶
func NewConnnectRessource(logger *zap.Logger, issuer *tokens.TokenIssuer, rotator *tokens.TokenRotator, userSignIn *user.SigninService, validator *validator.Validate, authService *authorization.Service, appService *application.Service, verifier *tokens.TokenVerifier) *ConnnectRessource
func (*ConnnectRessource) PasswordGrant ¶
func (c *ConnnectRessource) PasswordGrant( req *PasswordGrantTokenRequest, w http.ResponseWriter, r *http.Request, )
PasswordGrant is public so we can re-use this flow for the netlify wrapper
func (*ConnnectRessource) RefreshTokenGrant ¶
func (c *ConnnectRessource) RefreshTokenGrant( req *RefreshTokenTokenRequest, w http.ResponseWriter, r *http.Request, )
RefreshTokenGrant handles the refresh_token grant, public because it used in netlify api as well
func (*ConnnectRessource) Router ¶
func (c *ConnnectRessource) Router() *chi.Mux
Click to show internal directories.
Click to hide internal directories.