MCPcopy Create free account

hub / github.com/reugn/auth-server / types & classes

Types & classes28 in github.com/reugn/auth-server

↓ 2 callersTypeAliasIPAddress
IPAddress represents an IP address string.
internal/http/rate_limiter.go:78
StructAccessToken
AccessToken represents an access token.
internal/auth/jwt.go:39
StructAerospikeRepository
AerospikeRepository implements the Repository interface using Aerospike Database as the storage backend.
internal/repository/aerospike.go:32
StructAuthDetails
AuthDetails contains authentication details for the user.
internal/repository/local.go:19
StructClaims
Claims is the custom JWT claims container.
internal/auth/jwt.go:32
StructHTTP
HTTP contains HTTP server configuration properties.
internal/config/http_server.go:9
StructHeaderConfig
HeaderConfig defines which headers to check for method and URI.
internal/proxy/parser.go:24
StructIPRateLimiter
IPRateLimiter represents a rate limiter based on an IP address.
internal/http/rate_limiter.go:81
StructIPWhiteList
IPWhiteList contains white list information for rate limiting.
internal/http/rate_limiter.go:14
StructJWTGenerator
JWTGenerator generates an AccessToken.
internal/auth/jwt_generator.go:18
StructJWTValidator
JWTValidator validates and authorizes an AccessToken. It uses the keys to validate the token and the backend to authorize the request.
internal/auth/jwt_validator.go:15
StructKeys
Keys represents a container for the private and public keys.
internal/auth/keys.go:14
StructLocal
Local implements the Repository interface by loading authentication details from a local configuration file.
internal/repository/local.go:26
StructLogger
Logger contains the service logger configuration properties.
internal/config/logger.go:24
StructParser
Parser is a configurable request parser that works with any proxy.
internal/proxy/parser.go:68
StructRateLimiter
RateLimiter contains rate limiter configuration properties.
internal/config/http_server.go:19
InterfaceRepository
A Repository acts as a gateway to the authentication and authorization operations, facilitating secure access to resources.
internal/repository/repository.go:33
StructRequestDetails
RequestDetails represents request details.
internal/repository/repository.go:21
InterfaceRequestParser
RequestParser represents a request parser. It parses the authorization token and the request details from the original request.
internal/proxy/parser.go:16
StructSecret
Secret holds the configuration for secret keys.
internal/config/secret.go:8
StructServer
Server represents the entry point to interact with the service via HTTP requests.
internal/http/server.go:18
StructService
Service contains the entire service configuration.
internal/config/service.go:32
TypeAliasTokenType
TokenType represents a token type.
internal/auth/jwt.go:13
StructUserDetails
UserDetails represents user details.
internal/repository/repository.go:15
TypeAliasUserRole
UserRole represents a user role.
internal/repository/repository.go:12
StructVaultRepository
VaultRepository implements the Repository interface using HashiCorp Vault as the storage backend.
internal/repository/vault.go:29
StructaerospikeConfig
aerospikeConfig contains AerospikeRepository configuration properties.
internal/repository/aerospike.go:21
StructvaultConfig
vaultConfig contains VaultRepository configuration properties.
internal/repository/vault.go:20