Documentation
¶
Index ¶
Constants ¶
const ( // DefaultHost is the default Host // found in Meta (info) section of spec file DefaultHost string = "virtserver.swaggerhub.com" // DefaultBasePath is the default BasePath // found in Meta (info) section of spec file DefaultBasePath string = "/yuriyz1/oxauth/4.2" )
Variables ¶
var Default = NewHTTPClient(nil)
Default jans auth HTTP client.
var DefaultSchemes = []string{"https"}
DefaultSchemes are the default schemes found in Meta (info) section of spec file
Functions ¶
This section is empty.
Types ¶
type JansAuth ¶
type JansAuth struct { Authorization authorization.ClientService ClientInfo client_info.ClientService ClientRegistration client_registration.ClientService FIDO2 fido2.ClientService FIDOU2F fido_u2f.ClientService JSONWebKeySet json_web_key_set.ClientService Registration registration.ClientService ServerConfiguration server_configuration.ClientService SessionManagement session_management.ClientService Token token.ClientService TokenIntrospection token_introspection.ClientService UMA2Resource uma2_resource.ClientService UMAScope uma_scope.ClientService UMAUserManagedAccess uma_user_managed_access.ClientService UserInfo user_info.ClientService Transport runtime.ClientTransport }
JansAuth is a client for jans auth
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) *JansAuth
New creates a new jans auth client
func NewHTTPClient ¶
NewHTTPClient creates a new jans auth HTTP client.
func NewHTTPClientWithConfig ¶
func NewHTTPClientWithConfig(formats strfmt.Registry, cfg *TransportConfig) *JansAuth
NewHTTPClientWithConfig creates a new jans auth HTTP client, using a customizable transport config.
func (*JansAuth) SetTransport ¶
func (c *JansAuth) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client and all its subresources
type TransportConfig ¶
TransportConfig contains the transport related info, found in the meta section of the spec file.
func DefaultTransportConfig ¶
func DefaultTransportConfig() *TransportConfig
DefaultTransportConfig creates a TransportConfig with the default settings taken from the meta section of the spec file.
func (*TransportConfig) WithBasePath ¶
func (cfg *TransportConfig) WithBasePath(basePath string) *TransportConfig
WithBasePath overrides the default basePath, provided by the meta section of the spec file.
func (*TransportConfig) WithHost ¶
func (cfg *TransportConfig) WithHost(host string) *TransportConfig
WithHost overrides the default host, provided by the meta section of the spec file.
func (*TransportConfig) WithSchemes ¶
func (cfg *TransportConfig) WithSchemes(schemes []string) *TransportConfig
WithSchemes overrides the default schemes, provided by the meta section of the spec file.