Documentation
¶
Index ¶
- type Client
- func (c *Client) Attach(ctx context.Context, body *b2c.OAuthAttachParams) (*b2c.OAuthAttachResponse, error)
- func (c *Client) Authenticate(ctx context.Context, body *b2c.OAuthAuthenticateParams) (*b2c.OAuthAuthenticateResponse, error)
- func (c *Client) AuthenticateWithClaims(ctx context.Context, body *b2c.OAuthAuthenticateParams, claims interface{}) (*b2c.OAuthAuthenticateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) Attach ¶
func (c *Client) Attach( ctx context.Context, body *b2c.OAuthAttachParams, ) (*b2c.OAuthAttachResponse, error)
func (*Client) Authenticate ¶
func (c *Client) Authenticate( ctx context.Context, body *b2c.OAuthAuthenticateParams, ) (*b2c.OAuthAuthenticateResponse, error)
func (*Client) AuthenticateWithClaims ¶
func (c *Client) AuthenticateWithClaims( ctx context.Context, body *b2c.OAuthAuthenticateParams, claims interface{}, ) (*b2c.OAuthAuthenticateResponse, error)
AuthenticateWithClaims fills in the claims pointer with custom claims from the response. Pass in a map with the types of values you're expecting so that this function can marshal the claims from the response. See ExampleClient_AuthenticateWithClaims_map, ExampleClient_AuthenticateWithClaims_struct for examples
Click to show internal directories.
Click to hide internal directories.