Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewDocumentDataSource() datasource.DataSource
- func NewJWKSDataSource() datasource.DataSource
- type DiscoveryDocument
- type DocumentDataSource
- func (d *DocumentDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DocumentDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DocumentDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DocumentDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DocumentDataSourceModel
- type JWKSDataSource
- func (d *JWKSDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *JWKSDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *JWKSDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *JWKSDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type JWKSDataSourceModel
- type JWKSDocument
- type JWKeys
- type WellKnownOIDCProvider
- func (p *WellKnownOIDCProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *WellKnownOIDCProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *WellKnownOIDCProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *WellKnownOIDCProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *WellKnownOIDCProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type WellKnownOIDCProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDocumentDataSource ¶
func NewDocumentDataSource() datasource.DataSource
func NewJWKSDataSource ¶
func NewJWKSDataSource() datasource.DataSource
Types ¶
type DiscoveryDocument ¶
type DiscoveryDocument struct { Issuer string `json:"issuer"` JWKSURI string `json:"jwks_uri"` ResponseTypesSupported []string `json:"response_types_supported"` SubjectTypesSupported []string `json:"subject_types_supported"` IDTokenSigningAlgValuesSupported []string `json:"id_token_signing_alg_values_supported"` ClaimsSupported []string `json:"claims_supported,omitempty"` GrantTypes []string `json:"grant_types,omitempty"` GrantTypesSupported []string `json:"grant_types_supported,omitempty"` }
type DocumentDataSource ¶
type DocumentDataSource struct { }
DocumentDataSource defines the data source implementation.
func (*DocumentDataSource) Configure ¶
func (d *DocumentDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DocumentDataSource) Metadata ¶
func (d *DocumentDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DocumentDataSource) Read ¶
func (d *DocumentDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DocumentDataSource) Schema ¶
func (d *DocumentDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DocumentDataSourceModel ¶
type DocumentDataSourceModel struct { ID types.String `tfsdk:"id"` DiscoveryURL types.String `tfsdk:"discovery_url"` Issuer types.String `tfsdk:"issuer"` JWKSURI types.String `tfsdk:"jwks_uri"` ResponseTypesSupported types.List `tfsdk:"response_types_supported"` SubjectTypesSupported types.List `tfsdk:"subject_types_supported"` IDTokenSigningAlgValuesSupported types.List `tfsdk:"id_token_signing_alg_values_supported"` ClaimsSupported types.List `tfsdk:"claims_supported"` GrantTypes types.List `tfsdk:"grant_types"` }
DocumentDataSourceModel describes the data source data model.
type JWKSDataSource ¶
type JWKSDataSource struct { }
JWKSDataSource defines the data source implementation.
func (*JWKSDataSource) Configure ¶
func (d *JWKSDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*JWKSDataSource) Metadata ¶
func (d *JWKSDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*JWKSDataSource) Read ¶
func (d *JWKSDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*JWKSDataSource) Schema ¶
func (d *JWKSDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type JWKSDataSourceModel ¶
type JWKSDataSourceModel struct { ID types.String `tfsdk:"id"` JWKSURI types.String `tfsdk:"jwks_uri"` Keys types.List `tfsdk:"keys"` PEM types.List `tfsdk:"pem"` }
JWKSDataSourceModel describes the data source data model.
type JWKSDocument ¶
type JWKSDocument struct {
Keys []JWKeys `json:"keys"`
}
type WellKnownOIDCProvider ¶
type WellKnownOIDCProvider struct {
// contains filtered or unexported fields
}
WellKnownOIDCProvider defines the provider implementation.
func (*WellKnownOIDCProvider) Configure ¶
func (p *WellKnownOIDCProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*WellKnownOIDCProvider) DataSources ¶
func (p *WellKnownOIDCProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*WellKnownOIDCProvider) Metadata ¶
func (p *WellKnownOIDCProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*WellKnownOIDCProvider) Resources ¶
func (p *WellKnownOIDCProvider) Resources(ctx context.Context) []func() resource.Resource
func (*WellKnownOIDCProvider) Schema ¶
func (p *WellKnownOIDCProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type WellKnownOIDCProviderModel ¶
type WellKnownOIDCProviderModel struct { }
WellKnownOIDCProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.