com.nimbusds.openid.connect.sdk.claims
Class AuthorizedParty

java.lang.Object
  extended by com.nimbusds.oauth2.sdk.id.Identifier
      extended by com.nimbusds.openid.connect.sdk.claims.AuthorizedParty
All Implemented Interfaces:
net.minidev.json.JSONAware

@Immutable
public final class AuthorizedParty
extends Identifier

OAuth 2.0 client authorized to use the ID Token as an OAuth access token, if different than the client that requested the ID Token (azp). It must contain the client identifier of the authorised party.

The client identifier can be a URL or an arbitrary string. This class is immutable.

See also ClientID.

Related specifications:

Author:
Vladimir Dzhuvinov

Constructor Summary
AuthorizedParty(String value)
          Creates a new authorised party identifier with the specified value.
 
Method Summary
 boolean equals(Object object)
          Overrides Object.equals().
 
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
getValue, hashCode, toJSONString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthorizedParty

public AuthorizedParty(String value)
Creates a new authorised party identifier with the specified value.

Parameters:
value - The authorised party identifier value. Must not be null.
Method Detail

equals

public boolean equals(Object object)
Description copied from class: Identifier
Overrides Object.equals().

Specified by:
equals in class Identifier
Parameters:
object - The object to compare to.
Returns:
true if the objects have the same value, otherwise false.


Copyright © 2013 NimbusDS. All Rights Reserved.