package
0.0.0-20240910181647-9dee52ad8ae7
Repository: https://github.com/raju-kadel-27/go-lang.git
Documentation: pkg.go.dev
# Functions
AccessTokenFromContext returns the access token model of the token used to authentication from a context.
AccessTokenFromEchoContext returns the access token model of the token used to authentication from an echo context.
EnrichContextWithCredentials stores the provided credentials in the form of user and access token used for authentication in the give context and updates the logger associated with ctx to include the user's ID.
EnrichEchoContextWithCredentials stores the provided credentials in the form of user and access token user for authentication in the given echo context's request and updates the logger associated with c to include the user's ID.
UserFromContext returns the user model of the currently authenticated user from a context.
UserFromEchoContext returns the user model of the currently authenticated user from an echo context.
# Constants
No description provided by the author
# Structs
No description provided by the author
# Type aliases
No description provided by the author