public interface AuthorizationCodeOAuthFlowOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsScopes(String key)
public abstract boolean containsScopes(String key)The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAuthorizationUrl()
public abstract String getAuthorizationUrl()Optional. The authorization URL to be used for this flow.
string authorization_url = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The authorizationUrl. |
getAuthorizationUrlBytes()
public abstract ByteString getAuthorizationUrlBytes()Optional. The authorization URL to be used for this flow.
string authorization_url = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for authorizationUrl. |
getRefreshUrl()
public abstract String getRefreshUrl()Optional. The URL to be used for obtaining refresh tokens.
string refresh_url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The refreshUrl. |
getRefreshUrlBytes()
public abstract ByteString getRefreshUrlBytes()Optional. The URL to be used for obtaining refresh tokens.
string refresh_url = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for refreshUrl. |
getScopes() (deprecated)
public abstract Map<String,String> getScopes()Use #getScopesMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getScopesCount()
public abstract int getScopesCount()The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getScopesMap()
public abstract Map<String,String> getScopesMap()The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getScopesOrDefault(String key, String defaultValue)
public abstract String getScopesOrDefault(String key, String defaultValue)The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getScopesOrThrow(String key)
public abstract String getScopesOrThrow(String key)The available scopes for the OAuth2 security scheme.
map<string, string> scopes = 4;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getTokenUrl()
public abstract String getTokenUrl()Optional. The token URL to be used for this flow.
string token_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The tokenUrl. |
getTokenUrlBytes()
public abstract ByteString getTokenUrlBytes()Optional. The token URL to be used for this flow.
string token_url = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tokenUrl. |