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 |
---|---|---|
IClient |
service |
Methods
Generate(GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest, string)
This API replaces user authorized OAuth consent based APIs (Create, Entitle). Issues a timed session token for the given 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 |
---|---|---|
Google |
body | The body of the request. |
string | parent | Required. The parent, the partner that can resell. Format: partners/{partner} |
Returns
Type | Description |
---|---|
Partners |