Interface SubjectSession

    • Method Detail

      • getSubject

        com.nimbusds.oauth2.sdk.id.Subject getSubject()
        Returns the session subject. Shorthand for getSubjectAuthentication.getSubject().
        Returns:
        The session subject.
      • getMaxLifetime

        long getMaxLifetime()
        Gets the maximum session lifetime.
        Returns:
        The maximum lifetime in minutes, unlimited if negative, not specified if zero.
      • getAuthLifetime

        long getAuthLifetime()
        Gets the authentication lifetime.
        Returns:
        The authentication lifetime in minutes, unlimited if negative, not specified if zero.
      • getMaxIdleTime

        long getMaxIdleTime()
        Gets the maximum session idle time.
        Returns:
        The maximum idle time in minutes, unlimited if negative, not specified if zero.
      • getRelyingParties

        Set<com.nimbusds.oauth2.sdk.id.ClientID> getRelyingParties()
        Returns the OpenID relying parties logged in during the session.
        Returns:
        The logged in OpenID relying parties, empty set if none.
      • getClaims

        @Nullable net.minidev.json.JSONObject getClaims()
        Returns the optional claims about the subject.
        Returns:
        The optional claims, null if none.
      • getData

        @Nullable net.minidev.json.JSONObject getData()
        Returns the optional data.
        Returns:
        The optional data, null if none.