Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthService ¶
type OAuthService struct { }
OAuthService struct definition (unchanged)
func NewOAuthService ¶
func NewOAuthService() *OAuthService
NewOAuthService creates a new instance of OAuthService.
func (*OAuthService) WhoAmI ¶
func (s *OAuthService) WhoAmI() (*Principal, error)
WhoAmI function returns the Principal struct showing the email and scope of the currently authenticated user by generating an oauth token
Click to show internal directories.
Click to hide internal directories.