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

Method GetOAuthService

internal/service/auth_service.go:698–706  ·  view source on GitHub ↗
(sessionId string)

Source from the content-addressed store, hash-verified

696}
697
698func (auth *AuthService) GetOAuthService(sessionId string) (OAuthServiceImpl, error) {
699 session, err := auth.GetOAuthPendingSession(sessionId)
700
701 if err != nil {
702 return nil, err
703 }
704
705 return *session.Service, nil
706}
707
708func (auth *AuthService) EndOAuthSession(sessionId string) {
709 auth.oauthMutex.Lock()

Callers 1

oauthCallbackHandlerMethod · 0.80

Calls 1

Tested by

no test coverage detected