Skip to content

core-go/auth

Repository files navigation

Authentication

Authentication

  • authenticator
  • ldap authenticator
  • 2 factor authentication
  • oauth2 oauth2

Installation

Please make sure to initialize a Go module before installing core-go/auth:

go get -u github.com/core-go/auth

Import:

import "github.com/core-go/auth"

Models

  • AuthInfo
  • AuthResult
  • UserAccount
  • Privilege
  • UserInfo
  • StoredUser

Services

  • Authenticator
  • PrivilegesLoader
  • UserInfoService

Token

  • TokenConfig
  • TokenGenerator

OAuth2

Models

  • Configuration
  • OAuth2Info
  • User

Services

  • OAuth2Service
  • Azure

Repositories

  • ConfigurationRepository
  • OAuth2UserRepository
  • UserRepository