Documentation ¶
Index ¶
- type AccessTokenRegistry
- func (r *AccessTokenRegistry) CreateAccessToken(ctx apirequest.Context, token *oauthapi.OAuthAccessToken) (*oauthapi.OAuthAccessToken, error)
- func (r *AccessTokenRegistry) DeleteAccessToken(ctx apirequest.Context, name string) error
- func (r *AccessTokenRegistry) GetAccessToken(ctx apirequest.Context, name string, options *metav1.GetOptions) (*oauthapi.OAuthAccessToken, error)
- func (r *AccessTokenRegistry) ListAccessTokens(ctx apirequest.Context, options *metainternal.ListOptions) (*oauthapi.OAuthAccessTokenList, error)
- type AuthorizeTokenRegistry
- func (r *AuthorizeTokenRegistry) CreateAuthorizeToken(ctx apirequest.Context, token *oauthapi.OAuthAuthorizeToken) (*oauthapi.OAuthAuthorizeToken, error)
- func (r *AuthorizeTokenRegistry) DeleteAuthorizeToken(ctx apirequest.Context, name string) error
- func (r *AuthorizeTokenRegistry) GetAuthorizeToken(ctx apirequest.Context, name string, options *metav1.GetOptions) (*oauthapi.OAuthAuthorizeToken, error)
- func (r *AuthorizeTokenRegistry) ListAuthorizeTokens(ctx apirequest.Context, options *metainternal.ListOptions) (*oauthapi.OAuthAuthorizeTokenList, error)
- type ClientAuthorizationRegistry
- func (r *ClientAuthorizationRegistry) ClientAuthorizationName(userName, clientName string) string
- func (r *ClientAuthorizationRegistry) CreateClientAuthorization(ctx apirequest.Context, grant *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error)
- func (r *ClientAuthorizationRegistry) DeleteClientAuthorization(ctx apirequest.Context, name string) error
- func (r *ClientAuthorizationRegistry) GetClientAuthorization(ctx apirequest.Context, name string, options *metav1.GetOptions) (*oauthapi.OAuthClientAuthorization, error)
- func (r *ClientAuthorizationRegistry) ListClientAuthorizations(ctx apirequest.Context, options *metainternal.ListOptions) (*oauthapi.OAuthClientAuthorizationList, error)
- func (r *ClientAuthorizationRegistry) UpdateClientAuthorization(ctx apirequest.Context, grant *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error)
- type ClientRegistry
- func (r *ClientRegistry) CreateClient(ctx apirequest.Context, client *oauthapi.OAuthClient) (*oauthapi.OAuthClient, error)
- func (r *ClientRegistry) DeleteClient(ctx apirequest.Context, name string) error
- func (r *ClientRegistry) GetClient(ctx apirequest.Context, name string, options *metav1.GetOptions) (*oauthapi.OAuthClient, error)
- func (r *ClientRegistry) ListClients(ctx apirequest.Context, options *metainternal.ListOptions) (*oauthapi.OAuthClientList, error)
- func (r *ClientRegistry) UpdateClient(ctx apirequest.Context, client *oauthapi.OAuthClient) (*oauthapi.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 *oauthapi.OAuthAccessTokenList AccessToken *oauthapi.OAuthAccessToken DeletedAccessTokenName string }
func (*AccessTokenRegistry) CreateAccessToken ¶
func (r *AccessTokenRegistry) CreateAccessToken(ctx apirequest.Context, token *oauthapi.OAuthAccessToken) (*oauthapi.OAuthAccessToken, error)
func (*AccessTokenRegistry) DeleteAccessToken ¶
func (r *AccessTokenRegistry) DeleteAccessToken(ctx apirequest.Context, name string) error
func (*AccessTokenRegistry) GetAccessToken ¶
func (r *AccessTokenRegistry) GetAccessToken(ctx apirequest.Context, name string, options *metav1.GetOptions) (*oauthapi.OAuthAccessToken, error)
func (*AccessTokenRegistry) ListAccessTokens ¶
func (r *AccessTokenRegistry) ListAccessTokens(ctx apirequest.Context, options *metainternal.ListOptions) (*oauthapi.OAuthAccessTokenList, error)
type AuthorizeTokenRegistry ¶
type AuthorizeTokenRegistry struct { Err error AuthorizeTokens *oauthapi.OAuthAuthorizeTokenList AuthorizeToken *oauthapi.OAuthAuthorizeToken DeletedAuthorizeTokenName string }
func (*AuthorizeTokenRegistry) CreateAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) CreateAuthorizeToken(ctx apirequest.Context, token *oauthapi.OAuthAuthorizeToken) (*oauthapi.OAuthAuthorizeToken, error)
func (*AuthorizeTokenRegistry) DeleteAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) DeleteAuthorizeToken(ctx apirequest.Context, name string) error
func (*AuthorizeTokenRegistry) GetAuthorizeToken ¶
func (r *AuthorizeTokenRegistry) GetAuthorizeToken(ctx apirequest.Context, name string, options *metav1.GetOptions) (*oauthapi.OAuthAuthorizeToken, error)
func (*AuthorizeTokenRegistry) ListAuthorizeTokens ¶
func (r *AuthorizeTokenRegistry) ListAuthorizeTokens(ctx apirequest.Context, options *metainternal.ListOptions) (*oauthapi.OAuthAuthorizeTokenList, error)
type ClientAuthorizationRegistry ¶
type ClientAuthorizationRegistry struct { GetErr error ClientAuthorizations *oauthapi.OAuthClientAuthorizationList ClientAuthorization *oauthapi.OAuthClientAuthorization CreateErr error CreatedAuthorization *oauthapi.OAuthClientAuthorization UpdateErr error UpdatedAuthorization *oauthapi.OAuthClientAuthorization DeleteErr error DeletedClientAuthorizationName string }
func (*ClientAuthorizationRegistry) ClientAuthorizationName ¶ added in v0.2.1
func (r *ClientAuthorizationRegistry) ClientAuthorizationName(userName, clientName string) string
func (*ClientAuthorizationRegistry) CreateClientAuthorization ¶
func (r *ClientAuthorizationRegistry) CreateClientAuthorization(ctx apirequest.Context, grant *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error)
func (*ClientAuthorizationRegistry) DeleteClientAuthorization ¶
func (r *ClientAuthorizationRegistry) DeleteClientAuthorization(ctx apirequest.Context, name string) error
func (*ClientAuthorizationRegistry) GetClientAuthorization ¶
func (r *ClientAuthorizationRegistry) GetClientAuthorization(ctx apirequest.Context, name string, options *metav1.GetOptions) (*oauthapi.OAuthClientAuthorization, error)
func (*ClientAuthorizationRegistry) ListClientAuthorizations ¶
func (r *ClientAuthorizationRegistry) ListClientAuthorizations(ctx apirequest.Context, options *metainternal.ListOptions) (*oauthapi.OAuthClientAuthorizationList, error)
func (*ClientAuthorizationRegistry) UpdateClientAuthorization ¶
func (r *ClientAuthorizationRegistry) UpdateClientAuthorization(ctx apirequest.Context, grant *oauthapi.OAuthClientAuthorization) (*oauthapi.OAuthClientAuthorization, error)
type ClientRegistry ¶
type ClientRegistry struct { Err error Clients *oauthapi.OAuthClientList Client *oauthapi.OAuthClient DeletedClientName string }
func (*ClientRegistry) CreateClient ¶
func (r *ClientRegistry) CreateClient(ctx apirequest.Context, client *oauthapi.OAuthClient) (*oauthapi.OAuthClient, error)
func (*ClientRegistry) DeleteClient ¶
func (r *ClientRegistry) DeleteClient(ctx apirequest.Context, name string) error
func (*ClientRegistry) GetClient ¶
func (r *ClientRegistry) GetClient(ctx apirequest.Context, name string, options *metav1.GetOptions) (*oauthapi.OAuthClient, error)
func (*ClientRegistry) ListClients ¶
func (r *ClientRegistry) ListClients(ctx apirequest.Context, options *metainternal.ListOptions) (*oauthapi.OAuthClientList, error)
func (*ClientRegistry) UpdateClient ¶
func (r *ClientRegistry) UpdateClient(ctx apirequest.Context, client *oauthapi.OAuthClient) (*oauthapi.OAuthClient, error)
Click to show internal directories.
Click to hide internal directories.