Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthGrpc ¶
type AuthGrpc struct {
*AuthService
// contains filtered or unexported fields
}
func NewAuthGrpcAPI ¶
func NewAuthGrpcAPI(ctx context.Context, cfg config.RuntimeConfig[authConfig.Config]) (*AuthGrpc, error)
type AuthHttp ¶
type AuthHttp struct {
*AuthService
// contains filtered or unexported fields
}
func NewAuthHttpAPI ¶
func NewAuthHttpAPI(ctx context.Context, cfg config.RuntimeConfig[authConfig.Config]) (*AuthHttp, error)
type AuthService ¶
type AuthService struct {
proto.UnimplementedAuthServiceServer
// contains filtered or unexported fields
}
func NewAuthService ¶
func NewAuthService(ctx context.Context, cfg authConfig.Config, db storage.Database) (*AuthService, error)
func (*AuthService) Health ¶
func (i *AuthService) Health(ctx context.Context, in *proto.HealthRequest) (*proto.HealthResponse, error)
func (*AuthService) SetupRoutes ¶
func (i *AuthService) SetupRoutes(mux *http.ServeMux)
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
oauth
|
|
|
server/accesstokens
Package accesstokens is the public API for access-token persistence.
|
Package accesstokens is the public API for access-token persistence. |
|
server/authcodes
Package authcodes is the public API for authorization-code persistence.
|
Package authcodes is the public API for authorization-code persistence. |
|
server/consent
Package consent persists consent challenges and verifiers.
|
Package consent persists consent challenges and verifiers. |
|
server/internal/csrf
Package csrf provides the CSRF cookie and token helpers shared by the OAuth login and consent flows.
|
Package csrf provides the CSRF cookie and token helpers shared by the OAuth login and consent flows. |
|
server/login
Package login persists login challenges and verifiers.
|
Package login persists login challenges and verifiers. |
|
server/oidc
Package oidc is the public API for OpenID Connect session persistence.
|
Package oidc is the public API for OpenID Connect session persistence. |
|
server/pkce
Package pkce is the public API for PKCE-request persistence.
|
Package pkce is the public API for PKCE-request persistence. |
|
server/refreshtokens
Package refreshtokens is the public API for refresh-token persistence.
|
Package refreshtokens is the public API for refresh-token persistence. |
Click to show internal directories.
Click to hide internal directories.