Documentation ¶
Index ¶
- func AddServiceProviderIdpPath() string
- func DeleteServiceProviderIdpPath() string
- func DeleteSessionIdpPath() string
- func GetGoogleMetadataIdpPath() string
- func GetMetadataIdpPath() string
- func GetServiceProvidersIdpPath() string
- func GetSessionsIdpPath() string
- func LoginUserIdpPath() string
- func ServeLoginIdpPath() string
- func ServeLoginUserIdpPath() string
- func ServeSSOIdpPath() string
- type Client
- func (c *Client) AddServiceProviderIdp(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) DecodeErrorResponse(resp *http.Response) (*goa.ErrorResponse, error)
- func (c *Client) DeleteServiceProviderIdp(ctx context.Context, path string, payload *DeleteSPPayload, contentType string) (*http.Response, error)
- func (c *Client) DeleteSessionIdp(ctx context.Context, path string, payload *DeleteSessionPayload, ...) (*http.Response, error)
- func (c *Client) DownloadCSS(ctx context.Context, filename, dest string) (int64, error)
- func (c *Client) DownloadJs(ctx context.Context, filename, dest string) (int64, error)
- func (c *Client) DownloadSwaggerJSON(ctx context.Context, dest string) (int64, error)
- func (c *Client) DownloadSwaggerUI(ctx context.Context, filename, dest string) (int64, error)
- func (c *Client) GetGoogleMetadataIdp(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) GetMetadataIdp(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) GetServiceProvidersIdp(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) GetSessionsIdp(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) LoginUserIdp(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) NewAddServiceProviderIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewDeleteServiceProviderIdpRequest(ctx context.Context, path string, payload *DeleteSPPayload, contentType string) (*http.Request, error)
- func (c *Client) NewDeleteSessionIdpRequest(ctx context.Context, path string, payload *DeleteSessionPayload, ...) (*http.Request, error)
- func (c *Client) NewGetGoogleMetadataIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewGetMetadataIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewGetServiceProvidersIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewGetSessionsIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewLoginUserIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewServeLoginIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewServeLoginUserIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) NewServeSSOIdpRequest(ctx context.Context, path string) (*http.Request, error)
- func (c *Client) ServeLoginIdp(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ServeLoginUserIdp(ctx context.Context, path string) (*http.Response, error)
- func (c *Client) ServeSSOIdp(ctx context.Context, path string) (*http.Response, error)
- type DeleteSPPayload
- type DeleteSessionPayload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddServiceProviderIdpPath ¶
func AddServiceProviderIdpPath() string
AddServiceProviderIdpPath computes a request path to the addServiceProvider action of idp.
func DeleteServiceProviderIdpPath ¶
func DeleteServiceProviderIdpPath() string
DeleteServiceProviderIdpPath computes a request path to the deleteServiceProvider action of idp.
func DeleteSessionIdpPath ¶
func DeleteSessionIdpPath() string
DeleteSessionIdpPath computes a request path to the deleteSession action of idp.
func GetGoogleMetadataIdpPath ¶
func GetGoogleMetadataIdpPath() string
GetGoogleMetadataIdpPath computes a request path to the getGoogleMetadata action of idp.
func GetMetadataIdpPath ¶
func GetMetadataIdpPath() string
GetMetadataIdpPath computes a request path to the getMetadata action of idp.
func GetServiceProvidersIdpPath ¶
func GetServiceProvidersIdpPath() string
GetServiceProvidersIdpPath computes a request path to the getServiceProviders action of idp.
func GetSessionsIdpPath ¶
func GetSessionsIdpPath() string
GetSessionsIdpPath computes a request path to the getSessions action of idp.
func LoginUserIdpPath ¶
func LoginUserIdpPath() string
LoginUserIdpPath computes a request path to the loginUser action of idp.
func ServeLoginIdpPath ¶
func ServeLoginIdpPath() string
ServeLoginIdpPath computes a request path to the serveLogin action of idp.
func ServeLoginUserIdpPath ¶
func ServeLoginUserIdpPath() string
ServeLoginUserIdpPath computes a request path to the serveLoginUser action of idp.
func ServeSSOIdpPath ¶
func ServeSSOIdpPath() string
ServeSSOIdpPath computes a request path to the serveSSO action of idp.
Types ¶
type Client ¶
type Client struct { *goaclient.Client Encoder *goa.HTTPEncoder Decoder *goa.HTTPDecoder }
Client is the identity provider service client.
func (*Client) AddServiceProviderIdp ¶
Add new service provider
func (*Client) DecodeErrorResponse ¶
DecodeErrorResponse decodes the ErrorResponse instance encoded in resp body.
func (*Client) DeleteServiceProviderIdp ¶
func (c *Client) DeleteServiceProviderIdp(ctx context.Context, path string, payload *DeleteSPPayload, contentType string) (*http.Response, error)
Delete a service provider
func (*Client) DeleteSessionIdp ¶
func (c *Client) DeleteSessionIdp(ctx context.Context, path string, payload *DeleteSessionPayload, contentType string) (*http.Response, error)
Delete a service provider
func (*Client) DownloadCSS ¶
DownloadCSS downloads /files with the given filename and writes it to the file dest. It returns the number of bytes downloaded in case of success.
func (*Client) DownloadJs ¶
DownloadJs downloads /files with the given filename and writes it to the file dest. It returns the number of bytes downloaded in case of success.
func (*Client) DownloadSwaggerJSON ¶
DownloadSwaggerJSON downloads swagger.json and writes it to the file dest. It returns the number of bytes downloaded in case of success.
func (*Client) DownloadSwaggerUI ¶
DownloadSwaggerUI downloads /files with the given filename and writes it to the file dest. It returns the number of bytes downloaded in case of success.
func (*Client) GetGoogleMetadataIdp ¶
Get Google's metadata
func (*Client) GetMetadataIdp ¶
Get Jormungandr metadata
func (*Client) GetServiceProvidersIdp ¶
Get all service providres
func (*Client) GetSessionsIdp ¶
Get all sessions
func (*Client) LoginUserIdp ¶
Login user
func (*Client) NewAddServiceProviderIdpRequest ¶
func (c *Client) NewAddServiceProviderIdpRequest(ctx context.Context, path string) (*http.Request, error)
NewAddServiceProviderIdpRequest create the request corresponding to the addServiceProvider action endpoint of the idp resource.
func (*Client) NewDeleteServiceProviderIdpRequest ¶
func (c *Client) NewDeleteServiceProviderIdpRequest(ctx context.Context, path string, payload *DeleteSPPayload, contentType string) (*http.Request, error)
NewDeleteServiceProviderIdpRequest create the request corresponding to the deleteServiceProvider action endpoint of the idp resource.
func (*Client) NewDeleteSessionIdpRequest ¶
func (c *Client) NewDeleteSessionIdpRequest(ctx context.Context, path string, payload *DeleteSessionPayload, contentType string) (*http.Request, error)
NewDeleteSessionIdpRequest create the request corresponding to the deleteSession action endpoint of the idp resource.
func (*Client) NewGetGoogleMetadataIdpRequest ¶
func (c *Client) NewGetGoogleMetadataIdpRequest(ctx context.Context, path string) (*http.Request, error)
NewGetGoogleMetadataIdpRequest create the request corresponding to the getGoogleMetadata action endpoint of the idp resource.
func (*Client) NewGetMetadataIdpRequest ¶
NewGetMetadataIdpRequest create the request corresponding to the getMetadata action endpoint of the idp resource.
func (*Client) NewGetServiceProvidersIdpRequest ¶
func (c *Client) NewGetServiceProvidersIdpRequest(ctx context.Context, path string) (*http.Request, error)
NewGetServiceProvidersIdpRequest create the request corresponding to the getServiceProviders action endpoint of the idp resource.
func (*Client) NewGetSessionsIdpRequest ¶
NewGetSessionsIdpRequest create the request corresponding to the getSessions action endpoint of the idp resource.
func (*Client) NewLoginUserIdpRequest ¶
NewLoginUserIdpRequest create the request corresponding to the loginUser action endpoint of the idp resource.
func (*Client) NewServeLoginIdpRequest ¶
NewServeLoginIdpRequest create the request corresponding to the serveLogin action endpoint of the idp resource.
func (*Client) NewServeLoginUserIdpRequest ¶
func (c *Client) NewServeLoginUserIdpRequest(ctx context.Context, path string) (*http.Request, error)
NewServeLoginUserIdpRequest create the request corresponding to the serveLoginUser action endpoint of the idp resource.
func (*Client) NewServeSSOIdpRequest ¶
NewServeSSOIdpRequest create the request corresponding to the serveSSO action endpoint of the idp resource.
func (*Client) ServeLoginIdp ¶
Creare user session
func (*Client) ServeLoginUserIdp ¶
Login user
type DeleteSPPayload ¶
type DeleteSPPayload struct { // ID of service provider ServiceID string `form:"serviceId" json:"serviceId" yaml:"serviceId" xml:"serviceId"` }
DeleteSPPayload
func (*DeleteSPPayload) Validate ¶
func (ut *DeleteSPPayload) Validate() (err error)
Validate validates the DeleteSPPayload type instance.
type DeleteSessionPayload ¶
type DeleteSessionPayload struct { // ID of the session SessionID string `form:"sessionId" json:"sessionId" yaml:"sessionId" xml:"sessionId"` }
DeleteSessionPayload
func (*DeleteSessionPayload) Validate ¶
func (ut *DeleteSessionPayload) Validate() (err error)
Validate validates the DeleteSessionPayload type instance.