package
0.0.0-20230430084832-5bc9d87a9bde
Repository: https://github.com/arxivinsanity/backend-service.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Auth godoc @Summary Endpoint for getting user details @Schemes @Description Checks if there is a valid jwt token present in the header.
Auth godoc @Summary Endpoint for handling the google OAuth callback @Schemes @Description Will handle the google OAuth call back and redirect to homepage with the token in the url @Tags Auth @Accept json @Produce json @Success 200 {object} string @Router /auth/google/callback [get].
Auth godoc @Summary Endpoint for checking if user is logged in @Schemes @Description Checks if there is a valid jwt token present in the headers.
No description provided by the author
Auth godoc @Summary Endpoint for logging in the user using google Oauth 2 @Schemes @Description Will redirect user to google OAuth consent screen @Tags Auth @Accept json @Produce json @Param redirect_uri query string false "The url to redirect to after authentication" @Success 200 {object} string @Router /auth/google [get].
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author