MCPcopy
hub / github.com/tinyauthapp/tinyauth / OAuthServiceImpl

Interface OAuthServiceImpl

internal/service/oauth_broker_service.go:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type OAuthServiceImpl interface {
12 Name() string
13 ID() string
14 NewRandom() string
15 GetAuthURL(state string, verifier string) string
16 GetToken(code string, verifier string) (*oauth2.Token, error)
17 GetUserinfo(token *oauth2.Token) (config.Claims, error)
18}
19
20type OAuthBrokerService struct {
21 services map[string]OAuthServiceImpl

Callers 8

oauthCallbackHandlerMethod · 0.65
oauthCallbackHandlerMethod · 0.65
CreateSessionCookieMethod · 0.65
NewOAuthSessionMethod · 0.65
GetOAuthURLMethod · 0.65
GetOAuthTokenMethod · 0.65
UserinfoMethod · 0.65
GetOAuthUserinfoMethod · 0.65

Implementers 1

OAuthServiceinternal/service/oauth_service.go

Calls

no outgoing calls

Tested by

no test coverage detected