AdminUserLoginResponse OauthLoginUser(ctx, optional)
This logs a user in if successful with OAuth2
Required Parameters
| Name | Type | Description | Notes |
|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| optional | *OauthLoginUserOpts | optional parameters | nil if no parameters |
Optional Parameters
Optional parameters are passed through a pointer to a OauthLoginUserOpts struct
| Name | Type | Description | Notes |
|---|
| xCorrelationId | optional.String | Correlation Id that can be passed, traced in the server and will be returned in the response if present in the request | |
| adminUserOAuth2LoginRequest | optional.Interface of AdminUserOAuth2LoginRequest | This logs in the user with the OAuth2 response | |
Return type
AdminUserLoginResponse
Authorization
api_key
- Content-Type: application/json
- Accept: application/json