Categorygithub.com/valutac/go-edx-openid-auth
modulepackage
0.0.0-20171031042754-4c58bcddffeb
Repository: https://github.com/valutac/go-edx-openid-auth.git
Documentation: pkg.go.dev

# README

go-edx-openid-auth

# Packages

No description provided by the author

# Functions

Init to initialize a new backend authentication.
RandomToken generate a random string that will be used as state.
Scopes return a default scopes for authentication.

# Constants

URL_ACCESS_TOKEN used to get a new access token.
URL_AUTHORIZATION used to request an authorization.
URL_REDIRECT used as parameters when requesting an authorization as redirect uri.
URL_USER_INFO used to retrieve current user information.

# Structs

Backend is the main part of auth_backend.
UserInfo stored user information from user endpoint edx.