Auth: Introduce authn.SSOClientConfig to get client config from SSOSettings service (#94618)
* wip * possible solution * Separate interface for SSO settings clients * Rename interface * Fix tests * Rename * Change GetClientConfig to comma ok idiom
This commit is contained in:
@@ -22,8 +22,10 @@ var (
|
||||
errDeviceLimit = errutil.Unauthorized("anonymous.device-limit-reached", errutil.WithPublicMessage("Anonymous device limit reached. Contact Administrator"))
|
||||
)
|
||||
|
||||
var _ authn.ContextAwareClient = new(Anonymous)
|
||||
var _ authn.IdentityResolverClient = new(Anonymous)
|
||||
var (
|
||||
_ authn.ContextAwareClient = new(Anonymous)
|
||||
_ authn.IdentityResolverClient = new(Anonymous)
|
||||
)
|
||||
|
||||
type Anonymous struct {
|
||||
cfg *setting.Cfg
|
||||
|
||||
Reference in New Issue
Block a user