Uses of Class
com.google.auth.oauth2.ClientId
-
Packages that use ClientId Package Description com.google.auth.oauth2 -
-
Uses of ClientId in com.google.auth.oauth2
Fields in com.google.auth.oauth2 declared as ClientId Modifier and Type Field Description private ClientId
UserAuthorizer.Builder. clientId
private ClientId
UserAuthorizer. clientId
Methods in com.google.auth.oauth2 that return ClientId Modifier and Type Method Description ClientId
ClientId.Builder. build()
static ClientId
ClientId. fromJson(java.util.Map<java.lang.String,java.lang.Object> json)
Constructs a Client ID from JSON from a downloaded file.static ClientId
ClientId. fromResource(java.lang.Class<?> relativeClass, java.lang.String resourceName)
Constructs a Client ID from JSON file stored as a resource.static ClientId
ClientId. fromStream(java.io.InputStream stream)
Constructs a Client ID from JSON file stream.ClientId
UserAuthorizer.Builder. getClientId()
ClientId
UserAuthorizer. getClientId()
Returns the Client ID user to identify the OAuth2 consent prompt.static ClientId
ClientId. of(java.lang.String clientId, java.lang.String clientSecret)
Constructs a client ID from an explicit ID and secret.Methods in com.google.auth.oauth2 with parameters of type ClientId Modifier and Type Method Description UserAuthorizer.Builder
UserAuthorizer.Builder. setClientId(ClientId clientId)
Sets the OAuth 2.0 client ID.Constructors in com.google.auth.oauth2 with parameters of type ClientId Constructor Description Builder(ClientId clientId)
-