public final enum

AccessType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.mule.modules.google.AccessType

Class Overview

Indicates if your application needs to access a Google API when the user is not present at the browser

Summary

Enum Values
AccessType  offline  If your application needs to refresh access tokens when the user is not present at the browser, then use offline. 
AccessType  online  Use this if you want the user to be present at the browser  
[Expand]
Inherited Fields
From class java.lang.Enum
Public Methods
static AccessType valueOf(String name)
final static AccessType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final AccessType offline

If your application needs to refresh access tokens when the user is not present at the browser, then use offline. This will result in your application obtaining a refresh token the first time your application exchanges an authorization code for a user.

public static final AccessType online

Use this if you want the user to be present at the browser

Public Methods

public static AccessType valueOf (String name)

Parameters
name

public static final AccessType[] values ()