Beispiel #1
0
 /// <summary>
 /// Initializes a new instance with the specified options.
 /// </summary>
 /// <param name="state">The state of the application.</param>
 /// <param name="scope">The scope of the application.</param>
 /// <param name="accessType">Whether the application should be enabled for offline access.</param>
 /// <param name="prompt">A list of prompts to present the user. If <see cref="GooglePromptOption.None"/>, the user will be prompted only the first time your app requests access.</param>
 public GoogleAuthorizeOptions(string state, GoogleScopeList scope, GoogleAccessType accessType, GooglePromptOption prompt)
 {
     State      = state;
     Scope      = scope;
     AccessType = accessType;
     Prompt     = prompt;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance with the specified options.
 /// </summary>
 /// <param name="state">The state of the application.</param>
 /// <param name="scope">The scope of the application.</param>
 /// <param name="accessType">Whether the application should be enabled for offline access.</param>
 public GoogleAuthorizeOptions(string state, GoogleScopeList scope, GoogleAccessType accessType)
 {
     State      = state;
     Scope      = scope;
     AccessType = accessType;
 }