oauthController

package
v0.0.0-...-27c9e6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OauthController

type OauthController struct {
	Service            oauthService.OauthService
	IntegrationService integrationService.IntegrationService
}

func (*OauthController) AddUserProvider

func (controller *OauthController) AddUserProvider() gin.HandlerFunc

func (*OauthController) DeleteUserProvider

func (controller *OauthController) DeleteUserProvider() gin.HandlerFunc

func (*OauthController) GetAllUserProviders

func (controller *OauthController) GetAllUserProviders() gin.HandlerFunc

func (*OauthController) GetUserProvider

func (controller *OauthController) GetUserProvider() gin.HandlerFunc

func (*OauthController) OAuth

func (controller *OauthController) OAuth(c *gin.Context)

OAuth initializes the OAuth flow by redirecting the user to the providers login page

func (*OauthController) OAuthIntegrationCallback

func (controller *OauthController) OAuthIntegrationCallback(c *gin.Context)

OAuthIntegrationCallback handles the oauth callback and return user access token.

func (*OauthController) OAuthThirdPartyIntegrationCallback

func (controller *OauthController) OAuthThirdPartyIntegrationCallback(c *gin.Context)

OAuthThirdPartyIntegrationCallback handles the oauth callback and return name of integration that is created in this function

func (*OauthController) OAuthVerifyWebhook

func (controller *OauthController) OAuthVerifyWebhook(c *gin.Context)

func (*OauthController) OAuthWebhook

func (controller *OauthController) OAuthWebhook(c *gin.Context)

func (*OauthController) ThirdPartyOAuth

func (controller *OauthController) ThirdPartyOAuth(c *gin.Context)

ThirdPartyOAuth initializes the OAuth flow by redirecting the user to the user providers login/consent page

func (*OauthController) UpdateUserProvider

func (controller *OauthController) UpdateUserProvider() gin.HandlerFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL