fmewebservices.FMEOAuthV2WebService
Returns true if the service requires a client secret. |
|
Retrieves the associated authorization URL for this Web Service. |
|
Retrieves the associated client ID for this Web Service. |
|
Retrieves the associated client secret for this Web Service. |
|
Retrieves the optional description of this Web Service. |
|
Retrieves the optional help url of this Web Service. |
|
Retrieves the unique name of this Web Service. |
|
Retrieves the associated redirect URI for this Web Service. |
|
Gets the source name for the original Web Service for the derived Web Services. |
|
Sets the token request format for refreshing access/refresh tokens for the Web Service. |
|
Retrieves the URL called to refresh the token for this Web Service. |
|
Returns |
|
Returns |
|
Sets the authorization URL associated with this Web Service. |
|
|
Sets the client ID associated with this Web Service. |
Sets the client secret associated with this Web Service. |
|
Sets whether the service requires a client secret. |
|
|
Sets the optional description of this Web Service. |
Sets the optional help url of this Web Service. |
|
Sets the unique name of this Web Service. |
|
|
Sets the redirect URI associated with this Web Service. |
Sets the source name for the original Web Service for the derived Web Services. |
|
Sets whether the service supports bearer tokens in the HTTP header. |
|
|
Sets whether the service supports access token strings in the URL. |
Sets the format for the POST call to refresh the token associated with this Web Service. |
|
Sets the URL called to refresh the access/refresh tokens. |
|
Returns true if the service supports bearer tokens in the HTTP header. |
|
Returns true if the service supports access token strings in the URL. |
- class FMEOAuthV2WebService
FME OAuth Web Service class.
init()
Create an instance of an oauth Web Service object.
- __init__(*args, **kwargs)
- clientSecretRequired()
Returns true if the service requires a client secret.
- Return type:
- Returns:
Whether the service requires a client secret.
- getAuthorizationURL()
Retrieves the associated authorization URL for this Web Service.
- Return type:
- Returns:
The authorization URL.
- getClientID()
Retrieves the associated client ID for this Web Service.
- Return type:
- Returns:
The client ID.
- getClientSecret()
Retrieves the associated client secret for this Web Service.
- Return type:
- Returns:
The client secret.
- getDescription()
Retrieves the optional description of this Web Service.
- Return type:
- Returns:
The description of the Web Service.
- getHelpURL()
Retrieves the optional help url of this Web Service.
- Return type:
- Returns:
The url of the Web Service.
- getName()
Retrieves the unique name of this Web Service.
- Return type:
- Returns:
The name of the Web Service.
- getRedirectURI()
Retrieves the associated redirect URI for this Web Service.
- Return type:
- Returns:
The redirect URI.
- getSourceWebServiceName()
Gets the source name for the original Web Service for the derived Web Services.
- Return type:
- Returns:
The source web service name.
- getTokenRefreshRequestFormat()
Sets the token request format for refreshing access/refresh tokens for the Web Service.
- Return type:
- Returns:
The access token request format.
- getTokenRefreshURL()
Retrieves the URL called to refresh the token for this Web Service.
- Return type:
- Returns:
The access token URL.
- isDerivedWebService()
Returns
True
if the Web Service is derived from another source.- Return type:
- Returns:
Whether or not the Web Service is derived from another source.
- isInstalledWebService()
Returns
True
if the Web Service is an installed Web Service.- Return type:
- Returns:
Whether or not the Web Service is an installed Web Service.
- setAuthorizationURL(authorizationURL)
Sets the authorization URL associated with this Web Service.
- setClientID(clientID)
Sets the client ID associated with this Web Service.
- setClientSecret(clientSecret)
Sets the client secret associated with this Web Service.
- setClientSecretRequired(required)
Sets whether the service requires a client secret.
- setDescription(description)
Sets the optional description of this Web Service.
- setHelpURL(url)
Sets the optional help url of this Web Service.
- setName(name)
Sets the unique name of this Web Service.
- setRedirectURI(redirectURI)
Sets the redirect URI associated with this Web Service.
- setSourceWebServiceName(name)
Sets the source name for the original Web Service for the derived Web Services.
- setSupportHeaderAuthorization(supported)
Sets whether the service supports bearer tokens in the HTTP header.
- setSupportQueryStringAuthorization(supported)
Sets whether the service supports access token strings in the URL.
- setTokenRefreshRequestFormat(setTokenRefreshRequestFormat)
Sets the format for the POST call to refresh the token associated with this Web Service.
- setTokenRefreshURL(url)
Sets the URL called to refresh the access/refresh tokens.
- supportHeaderAuthorization()
Returns true if the service supports bearer tokens in the HTTP header.
- Return type:
- Returns:
Whether the service supports bearer tokens.