identity

package module
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MIT Imports: 11 Imported by: 0

README

Common Libraries used by other projects

Build Release Security

This project is used as a common set of libraries to use on my other projects. this might not be as useful without them but feel free to use it as inspiration

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAuthorizedController added in v0.0.6

func AddAuthorizedController(l *restapi.HttpListener, c restapi_controller.Controller, path string, methods ...string)

func AddAuthorizedControllerWithClaims added in v0.0.6

func AddAuthorizedControllerWithClaims(l *restapi.HttpListener, c restapi_controller.Controller, path string, claims []string, methods ...string)

func AddAuthorizedControllerWithRoles added in v0.0.6

func AddAuthorizedControllerWithRoles(l *restapi.HttpListener, c restapi_controller.Controller, path string, roles []string, methods ...string)

func AddAuthorizedControllerWithRolesAndClaims added in v0.0.6

func AddAuthorizedControllerWithRolesAndClaims(l *restapi.HttpListener, c restapi_controller.Controller, path string, roles []string, claims []string, methods ...string)

func WithApiKeyAuthentication added in v0.0.15

func WithApiKeyAuthentication(l *restapi.HttpListener, context api_key_manager.ApiKeyContextAdapter) *restapi.HttpListener

func WithAuthentication added in v0.0.6

func WithAuthentication(l *restapi.HttpListener, context interfaces.UserContextAdapter) *restapi.HttpListener

func WithDefaultAuthentication added in v0.0.6

func WithDefaultAuthentication(l *restapi.HttpListener) *restapi.HttpListener

func WithInMemoryApiKeyAuthentication added in v0.0.15

func WithInMemoryApiKeyAuthentication(l *restapi.HttpListener) *restapi.HttpListener

Types

This section is empty.

Directories

Path Synopsis
dto
sql
Package jwt provides the needed functions to generate tokens for users
Package jwt provides the needed functions to generate tokens for users

Jump to

Keyboard shortcuts

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