coreos package

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

package coreos provides a Provider for OpenID Connect (code.pfad.fr/gopenidclient), backed by the github.com/coreos/go-oidc/v3/oidc package.

Example

Index

Examples

type OIDC

OIDC implements a Provider for the OpenID Connect flow of code.pfad.fr/gopenidclient. The unexported fields have a suitable default values (hence no New method needed).

func (*OIDC) AuthCodeURL

AuthCodeURL returns the Auth-URL to redirect the user to

func (*OIDC) EndSessionURL

func (*OIDC) Exchange

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

func (*OIDC) Refresh

func (*OIDC) SetRedirectURL

SetRedirectURL sets the local callback URL.

Source Files

oidc.go