Enum OauthField

    • Enum Constant Detail

      • SCOPE

        public static final OauthField SCOPE
        OAuth scopes let you specify exactly how your application needs to access a user's resource. Scope is specified on either the authorization or token endpoints using the parameter scope. Scope is expressed as a set of case-sensitive and space-delimited strings. The authorization server may override the scope request, in this case it must include scope in its response to inform a client of their actual scope. When a scope is not specified, the server may either fallback to a well-documented default, or fail the request.
      • EXPIRES_IN

        public static final OauthField EXPIRES_IN
      • REFRESH_TOKEN

        public static final OauthField REFRESH_TOKEN
      • TOKEN_TYPE

        public static final OauthField TOKEN_TYPE
      • ACCESS_TOKEN

        public static final OauthField ACCESS_TOKEN
        The access token, see also TokenType.
    • Method Detail

      • values

        public static OauthField[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (OauthField c : OauthField.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OauthField valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getPath

        public java.lang.String getPath()
        Specified by:
        getPath in interface org.refcodes.mixin.PathAccessor
      • fromPath

        public static OauthField fromPath​(java.lang.String aPath)