(sessionId string)
| 696 | } |
| 697 | |
| 698 | func (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 | |
| 708 | func (auth *AuthService) EndOAuthSession(sessionId string) { |
| 709 | auth.oauthMutex.Lock() |
no test coverage detected