static package

import "code.pfad.fr/gopenidclient/static"

package static uses golang.org/x/oauth2 to implement a Provider for the OAuth2 flow with a static config.

Index

type OAuth2

OAuth2 implements a Provider for the OAuth2 flow.

func (*OAuth2) AuthCodeURL

AuthCodeURL returns the Auth-URL to redirect the user to

func (*OAuth2) EndSessionURL

func (*OAuth2) Exchange

Exchange exchanges the code and provides a way to unmarshal the user info

func (*OAuth2) Refresh

func (*OAuth2) SetRedirectURL

SetRedirectURL sets the local callback URL.

Source Files

oauth2.go