mirror of https://github.com/ory/hydra
34 lines
820 B
Go
34 lines
820 B
Go
// Copyright © 2022 Ory Corp
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package client
|
|
|
|
import (
|
|
"github.com/ory/hydra/v2/driver/config"
|
|
|
|
"github.com/ory/hydra/v2/fosite"
|
|
foauth2 "github.com/ory/hydra/v2/fosite/handler/oauth2"
|
|
"github.com/ory/hydra/v2/fosite/handler/rfc8628"
|
|
enigma "github.com/ory/hydra/v2/fosite/token/hmac"
|
|
"github.com/ory/hydra/v2/jwk"
|
|
"github.com/ory/hydra/v2/x"
|
|
)
|
|
|
|
type InternalRegistry interface {
|
|
x.RegistryWriter
|
|
Registry
|
|
}
|
|
|
|
type Registry interface {
|
|
ClientValidator() *Validator
|
|
ClientManager() Manager
|
|
ClientHasher() fosite.Hasher
|
|
OpenIDJWTSigner() jwk.JWTSigner
|
|
OAuth2HMACStrategy() foauth2.CoreStrategy
|
|
OAuth2EnigmaStrategy() *enigma.HMACStrategy
|
|
rfc8628.DeviceRateLimitStrategyProvider
|
|
rfc8628.DeviceCodeStrategyProvider
|
|
rfc8628.UserCodeStrategyProvider
|
|
config.Provider
|
|
}
|