Documentation ¶
Index ¶
- type Provider
- type Wrapper
- func (w *Wrapper) IntrospectToken(ctx context.Context, token string, tokenUse fosite.TokenUse, ...) (fosite.TokenUse, fosite.AccessRequester, error)
- func (w *Wrapper) NewAccessRequest(ctx context.Context, req *http.Request, session fosite.Session) (fosite.AccessRequester, error)
- func (w *Wrapper) NewAccessResponse(ctx context.Context, requester fosite.AccessRequester) (fosite.AccessResponder, error)
- func (w *Wrapper) NewAuthorizeRequest(ctx context.Context, req *http.Request) (fosite.AuthorizeRequester, error)
- func (w *Wrapper) NewAuthorizeResponse(ctx context.Context, requester fosite.AuthorizeRequester, ...) (fosite.AuthorizeResponder, error)
- func (w *Wrapper) NewIntrospectionRequest(ctx context.Context, r *http.Request, session fosite.Session) (fosite.IntrospectionResponder, error)
- func (w *Wrapper) NewPushedAuthorizeRequest(ctx context.Context, r *http.Request) (fosite.AuthorizeRequester, error)
- func (w *Wrapper) NewPushedAuthorizeResponse(ctx context.Context, ar fosite.AuthorizeRequester, session fosite.Session) (fosite.PushedAuthorizeResponder, error)
- func (w *Wrapper) NewRevocationRequest(ctx context.Context, r *http.Request) error
- func (w *Wrapper) WriteAccessError(ctx context.Context, rw http.ResponseWriter, requester fosite.AccessRequester, ...)
- func (w *Wrapper) WriteAccessResponse(ctx context.Context, rw http.ResponseWriter, requester fosite.AccessRequester, ...)
- func (w *Wrapper) WriteAuthorizeError(ctx context.Context, rw http.ResponseWriter, ...)
- func (w *Wrapper) WriteAuthorizeResponse(ctx context.Context, rw http.ResponseWriter, ...)
- func (w *Wrapper) WriteIntrospectionError(ctx context.Context, rw http.ResponseWriter, err error)
- func (w *Wrapper) WriteIntrospectionResponse(ctx context.Context, rw http.ResponseWriter, r fosite.IntrospectionResponder)
- func (w *Wrapper) WritePushedAuthorizeError(ctx context.Context, rw http.ResponseWriter, ar fosite.AuthorizeRequester, ...)
- func (w *Wrapper) WritePushedAuthorizeResponse(ctx context.Context, rw http.ResponseWriter, ar fosite.AuthorizeRequester, ...)
- func (w *Wrapper) WriteRevocationResponse(ctx context.Context, rw http.ResponseWriter, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider fosite.OAuth2Provider
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func (*Wrapper) IntrospectToken ¶
func (*Wrapper) NewAccessRequest ¶
func (*Wrapper) NewAccessResponse ¶
func (w *Wrapper) NewAccessResponse(ctx context.Context, requester fosite.AccessRequester) (fosite.AccessResponder, error)
func (*Wrapper) NewAuthorizeRequest ¶
func (*Wrapper) NewAuthorizeResponse ¶
func (w *Wrapper) NewAuthorizeResponse(ctx context.Context, requester fosite.AuthorizeRequester, session fosite.Session) (fosite.AuthorizeResponder, error)
func (*Wrapper) NewIntrospectionRequest ¶
func (*Wrapper) NewPushedAuthorizeRequest ¶
func (*Wrapper) NewPushedAuthorizeResponse ¶
func (w *Wrapper) NewPushedAuthorizeResponse(ctx context.Context, ar fosite.AuthorizeRequester, session fosite.Session) (fosite.PushedAuthorizeResponder, error)
func (*Wrapper) NewRevocationRequest ¶
func (*Wrapper) WriteAccessError ¶
func (w *Wrapper) WriteAccessError(ctx context.Context, rw http.ResponseWriter, requester fosite.AccessRequester, err error)
func (*Wrapper) WriteAccessResponse ¶
func (w *Wrapper) WriteAccessResponse(ctx context.Context, rw http.ResponseWriter, requester fosite.AccessRequester, responder fosite.AccessResponder)
func (*Wrapper) WriteAuthorizeError ¶
func (w *Wrapper) WriteAuthorizeError(ctx context.Context, rw http.ResponseWriter, requester fosite.AuthorizeRequester, err error)
func (*Wrapper) WriteAuthorizeResponse ¶
func (w *Wrapper) WriteAuthorizeResponse(ctx context.Context, rw http.ResponseWriter, requester fosite.AuthorizeRequester, responder fosite.AuthorizeResponder)
func (*Wrapper) WriteIntrospectionError ¶
func (*Wrapper) WriteIntrospectionResponse ¶
func (w *Wrapper) WriteIntrospectionResponse(ctx context.Context, rw http.ResponseWriter, r fosite.IntrospectionResponder)
func (*Wrapper) WritePushedAuthorizeError ¶
func (w *Wrapper) WritePushedAuthorizeError(ctx context.Context, rw http.ResponseWriter, ar fosite.AuthorizeRequester, err error)
func (*Wrapper) WritePushedAuthorizeResponse ¶
func (w *Wrapper) WritePushedAuthorizeResponse(ctx context.Context, rw http.ResponseWriter, ar fosite.AuthorizeRequester, resp fosite.PushedAuthorizeResponder)
func (*Wrapper) WriteRevocationResponse ¶
Click to show internal directories.
Click to hide internal directories.