Documentation ¶
Index ¶
- type Args
- type GroupNotFoundError
- type Provider
- func (p *Provider) ArgSchema() providers.ArgSchema
- func (o *Provider) Config() gconfig.Config
- func (p *Provider) Grant(ctx context.Context, subject string, args []byte, grantID string) error
- func (o *Provider) Init(ctx context.Context) error
- func (p *Provider) IsActive(ctx context.Context, subject string, args []byte, grantID string) (bool, error)
- func (p *Provider) Options(ctx context.Context, arg string) (*types.ArgOptionsResponse, error)
- func (p *Provider) Revoke(ctx context.Context, subject string, args []byte, grantID string) error
- func (p *Provider) SetupDocs() embed.FS
- func (p *Provider) TestConfig(ctx context.Context) error
- func (p *Provider) ValidateConfig() map[string]providers.ConfigValidationStep
- func (p *Provider) ValidateGrant() providers.GrantValidationSteps
- type UserNotFoundError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupNotFoundError ¶
type GroupNotFoundError struct {
Group string
}
func (*GroupNotFoundError) Error ¶
func (e *GroupNotFoundError) Error() string
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func (*Provider) IsActive ¶
func (p *Provider) IsActive(ctx context.Context, subject string, args []byte, grantID string) (bool, error)
IsActive checks whether the access is active by calling Okta's API.
func (*Provider) SetupDocs ¶ added in v0.4.0
SetupDocs returns the embedded filesystem containing setup documentation.
func (*Provider) TestConfig ¶ added in v0.3.1
func (*Provider) ValidateConfig ¶ added in v0.4.0
func (p *Provider) ValidateConfig() map[string]providers.ConfigValidationStep
func (*Provider) ValidateGrant ¶ added in v0.7.0
func (p *Provider) ValidateGrant() providers.GrantValidationSteps
type UserNotFoundError ¶
type UserNotFoundError struct {
User string
}
func (*UserNotFoundError) Error ¶
func (e *UserNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.