Class PartnersResource.UserSessionsResource
The "userSessions" collection of methods.
Inherited Members
Namespace: Google.Apis.PaymentsResellerSubscription.v1
Assembly: Google.Apis.PaymentsResellerSubscription.v1.dll
Syntax
public class PartnersResource.UserSessionsResource
Constructors
UserSessionsResource(IClientService)
Constructs a new resource.
Declaration
public UserSessionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Generate(GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest, string)
This API replaces user authorized OAuth consent based APIs (Create, Entitle). Generates a short-lived token for a user session based on the user intent. You can use the session token to redirect the user to Google to finish the signup flow. You can re-generate new session token repeatedly for the same request if necessary, regardless of the previous tokens being expired or not.
Declaration
public virtual PartnersResource.UserSessionsResource.GenerateRequest Generate(GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest | body | The body of the request. |
string | parent | Required. The parent, the partner that can resell. Format: partners/{partner} |
Returns
Type | Description |
---|---|
PartnersResource.UserSessionsResource.GenerateRequest |