Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MSALAuthProvider ¶
type MSALAuthProvider interface { Login(ctx context.Context) error Logout(ctx context.Context) error runtime.ClientAuthInfoWriter }
MSALAuthProvider is an AuthProvider that uses MSAL
func NewMSALAuthProvider ¶
func NewMSALAuthProvider(radixConfig *radixconfig.RadixConfig, clientID, tenantID string) (MSALAuthProvider, error)
NewMSALAuthProvider creates a new MSALAuthProvider
type TokenCache ¶
type TokenCache struct {
// contains filtered or unexported fields
}
TokenCache is a token cache
func NewTokenCache ¶
func NewTokenCache(radixConfig *radixconfig.RadixConfig) *TokenCache
NewTokenCache creates a new token cache
func (*TokenCache) Export ¶
func (t *TokenCache) Export(ctx context.Context, cache cache.Marshaler, hints cache.ExportHints) error
Export writes the binary representation of the cache (cache.Marshal()) to external storage. This is considered opaque. Context cancellations should be honored as in Replace.
func (*TokenCache) Replace ¶
func (t *TokenCache) Replace(ctx context.Context, cache cache.Unmarshaler, hints cache.ReplaceHints) error
Replace replaces the cache with what is in external storage. Implementors should honor Context cancellations and return context.Canceled or context.DeadlineExceeded in those cases.
Click to show internal directories.
Click to hide internal directories.