This project has retired. For details please refer to its Attic page.
OAuthProviderType | Apache Oltu - OAuth 2.0
public final enum

OAuthProviderType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ org.apache.oltu.oauth2.common.OAuthProviderType

Class Overview

An enumeration of pre-identified and well known OAuth 2 providers, along with their authorization and token endpoints.

Summary

Enum Values
OAuthProviderType  FACEBOOK   
OAuthProviderType  FOURSQUARE   
OAuthProviderType  GITHUB   
OAuthProviderType  GOOGLE   
OAuthProviderType  INSTAGRAM   
OAuthProviderType  LINKEDIN   
OAuthProviderType  MICROSOFT   
OAuthProviderType  PAYPAL   
OAuthProviderType  REDDIT   
OAuthProviderType  SALESFORCE   
OAuthProviderType  YAMMER   
Public Methods
String getAuthzEndpoint()
Get the authorization endpoint
String getProviderName()
Get the provider name
String getTokenEndpoint()
Get the access token endpoint
static OAuthProviderType valueOf(String name)
final static OAuthProviderType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final OAuthProviderType FACEBOOK

public static final OAuthProviderType FOURSQUARE

public static final OAuthProviderType GITHUB

public static final OAuthProviderType GOOGLE

public static final OAuthProviderType INSTAGRAM

public static final OAuthProviderType LINKEDIN

public static final OAuthProviderType MICROSOFT

public static final OAuthProviderType PAYPAL

public static final OAuthProviderType REDDIT

public static final OAuthProviderType SALESFORCE

public static final OAuthProviderType YAMMER

Public Methods

public String getAuthzEndpoint ()

Get the authorization endpoint

Returns
  • Returns the authorization endpoint

public String getProviderName ()

Get the provider name

Returns
  • Returns the provider name

public String getTokenEndpoint ()

Get the access token endpoint

Returns
  • Returns the access token endpoint

public static OAuthProviderType valueOf (String name)

public static final OAuthProviderType[] values ()