Documentation
¶
Index ¶
- type AccessTokenRegistry
- func (r *AccessTokenRegistry) CreateAccessToken(token *api.OAuthAccessToken) error
- func (r *AccessTokenRegistry) DeleteAccessToken(name string) error
- func (r *AccessTokenRegistry) GetAccessToken(name string) (*api.OAuthAccessToken, error)
- func (r *AccessTokenRegistry) ListAccessTokens(labels labels.Selector) (*api.OAuthAccessTokenList, error)
- func (r *AccessTokenRegistry) UpdateAccessToken(token *api.OAuthAccessToken) error
- type AuthorizeTokenRegistry
- func (r *AuthorizeTokenRegistry) CreateAuthorizeToken(token *api.OAuthAuthorizeToken) error
- func (r *AuthorizeTokenRegistry) DeleteAuthorizeToken(name string) error
- func (r *AuthorizeTokenRegistry) GetAuthorizeToken(name string) (*api.OAuthAuthorizeToken, error)
- func (r *AuthorizeTokenRegistry) ListAuthorizeTokens(labels labels.Selector) (*api.OAuthAuthorizeTokenList, error)
- func (r *AuthorizeTokenRegistry) UpdateAuthorizeToken(token *api.OAuthAuthorizeToken) error
- type ClientAuthorizationRegistry
- func (r *ClientAuthorizationRegistry) ClientAuthorizationName(userName, clientName string) string
- func (r *ClientAuthorizationRegistry) CreateClientAuthorization(grant *api.OAuthClientAuthorization) error
- func (r *ClientAuthorizationRegistry) DeleteClientAuthorization(name string) error
- func (r *ClientAuthorizationRegistry) GetClientAuthorization(name string) (*api.OAuthClientAuthorization, error)
- func (r *ClientAuthorizationRegistry) ListClientAuthorizations(label, field labels.Selector) (*api.OAuthClientAuthorizationList, error)
- func (r *ClientAuthorizationRegistry) UpdateClientAuthorization(grant *api.OAuthClientAuthorization) error
- type ClientRegistry
- func (r *ClientRegistry) CreateClient(client *api.OAuthClient) error
- func (r *ClientRegistry) DeleteClient(name string) error
- func (r *ClientRegistry) GetClient(name string) (*api.OAuthClient, error)
- func (r *ClientRegistry) ListClients(labels labels.Selector) (*api.OAuthClientList, error)
- func (r *ClientRegistry) UpdateClient(client *api.OAuthClient) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenRegistry ¶
type AccessTokenRegistry struct { Err error AccessTokens *api.OAuthAccessTokenList AccessToken *api.OAuthAccessToken DeletedAccessTokenName string }
func (*AccessTokenRegistry) CreateAccessToken ¶
func (r *AccessTokenRegistry) CreateAccessToken(token *api.OAuthAccessToken) error
func (*AccessTokenRegistry) DeleteAccessToken ¶
func (r *AccessTokenRegistry) DeleteAccessToken(name string) error
func (*AccessTokenRegistry) GetAccessToken ¶
func (r *AccessTokenRegistry) GetAccessToken(name string) (*api.OAuthAccessToken, error)
func (*AccessTokenRegistry) ListAccessTokens ¶
func (r *AccessTokenRegistry) ListAccessTokens(labels labels.Selector) (*api.OAuthAccessTokenList, error)
func (*AccessTokenRegistry) UpdateAccessToken ¶
func (r *AccessTokenRegistry) UpdateAccessToken(token *api.OAuthAccessToken) error
type AuthorizeTokenRegistry ¶
type AuthorizeTokenRegistry struct { Err error AuthorizeTokens *api.OAuthAuthorizeTokenList AuthorizeToken *api.OAuthAuthorizeToken DeletedAuthorizeTokenName string }
func (*AuthorizeTokenRegistry) CreateAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) CreateAuthorizeToken(token *api.OAuthAuthorizeToken) error
func (*AuthorizeTokenRegistry) DeleteAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) DeleteAuthorizeToken(name string) error
func (*AuthorizeTokenRegistry) GetAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) GetAuthorizeToken(name string) (*api.OAuthAuthorizeToken, error)
func (*AuthorizeTokenRegistry) ListAuthorizeTokens ¶
func (r *AuthorizeTokenRegistry) ListAuthorizeTokens(labels labels.Selector) (*api.OAuthAuthorizeTokenList, error)
func (*AuthorizeTokenRegistry) UpdateAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) UpdateAuthorizeToken(token *api.OAuthAuthorizeToken) error
type ClientAuthorizationRegistry ¶
type ClientAuthorizationRegistry struct { Err error ClientAuthorizations *api.OAuthClientAuthorizationList ClientAuthorization *api.OAuthClientAuthorization CreatedAuthorization *api.OAuthClientAuthorization UpdatedAuthorization *api.OAuthClientAuthorization DeletedClientAuthorizationName string }
func (*ClientAuthorizationRegistry) ClientAuthorizationName ¶
func (r *ClientAuthorizationRegistry) ClientAuthorizationName(userName, clientName string) string
func (*ClientAuthorizationRegistry) CreateClientAuthorization ¶
func (r *ClientAuthorizationRegistry) CreateClientAuthorization(grant *api.OAuthClientAuthorization) error
func (*ClientAuthorizationRegistry) DeleteClientAuthorization ¶
func (r *ClientAuthorizationRegistry) DeleteClientAuthorization(name string) error
func (*ClientAuthorizationRegistry) GetClientAuthorization ¶
func (r *ClientAuthorizationRegistry) GetClientAuthorization(name string) (*api.OAuthClientAuthorization, error)
func (*ClientAuthorizationRegistry) ListClientAuthorizations ¶
func (r *ClientAuthorizationRegistry) ListClientAuthorizations(label, field labels.Selector) (*api.OAuthClientAuthorizationList, error)
func (*ClientAuthorizationRegistry) UpdateClientAuthorization ¶
func (r *ClientAuthorizationRegistry) UpdateClientAuthorization(grant *api.OAuthClientAuthorization) error
type ClientRegistry ¶
type ClientRegistry struct { Err error Clients *api.OAuthClientList Client *api.OAuthClient DeletedClientName string }
func (*ClientRegistry) CreateClient ¶
func (r *ClientRegistry) CreateClient(client *api.OAuthClient) error
func (*ClientRegistry) DeleteClient ¶
func (r *ClientRegistry) DeleteClient(name string) error
func (*ClientRegistry) GetClient ¶
func (r *ClientRegistry) GetClient(name string) (*api.OAuthClient, error)
func (*ClientRegistry) ListClients ¶
func (r *ClientRegistry) ListClients(labels labels.Selector) (*api.OAuthClientList, error)
func (*ClientRegistry) UpdateClient ¶
func (r *ClientRegistry) UpdateClient(client *api.OAuthClient) error
Click to show internal directories.
Click to hide internal directories.