Class UmaClient


  • public class UmaClient
    extends java.lang.Object
    Author:
    Yuriy Zabrovarnyy
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static io.jans.as.model.uma.wrapper.Token request​(java.lang.String tokenUrl, TokenRequest tokenRequest)  
      static io.jans.as.model.uma.wrapper.Token request​(java.lang.String tokenUrl, java.lang.String umaClientId, java.lang.String umaClientSecret, io.jans.as.model.uma.UmaScopeType scopeType, org.jboss.resteasy.client.jaxrs.ClientHttpEngine engine, java.lang.String... scopeArray)  
      static io.jans.as.model.uma.wrapper.Token request​(java.lang.String authorizeUrl, java.lang.String tokenUrl, java.lang.String umaUserId, java.lang.String umaUserSecret, java.lang.String umaClientId, java.lang.String umaClientSecret, java.lang.String umaRedirectUri, io.jans.as.model.uma.UmaScopeType type, java.lang.String... scopeArray)
      Deprecated.
      use request() method directly
      static io.jans.as.model.uma.wrapper.Token requestPat​(java.lang.String tokenUrl, java.lang.String umaClientId, java.lang.String umaClientSecret, java.lang.String... scopeArray)  
      static io.jans.as.model.uma.wrapper.Token requestPat​(java.lang.String tokenUrl, java.lang.String clientKeyStoreFile, java.lang.String clientKeyStorePassword, java.lang.String clientId, java.lang.String keyId)  
      static io.jans.as.model.uma.wrapper.Token requestPat​(java.lang.String authorizeUrl, java.lang.String tokenUrl, java.lang.String umaUserId, java.lang.String umaUserSecret, java.lang.String umaClientId, java.lang.String umaClientSecret, java.lang.String umaRedirectUri, java.lang.String... scopeArray)
      Deprecated.
      use request() method directly
      static io.jans.as.model.uma.wrapper.Token requestPat​(java.lang.String tokenUrl, java.lang.String umaClientId, java.lang.String umaClientSecret, org.jboss.resteasy.client.jaxrs.ClientHttpEngine engine, java.lang.String... scopeArray)  
      static io.jans.as.model.uma.wrapper.Token requestWithClientSecretJwt​(java.lang.String tokenUrl, java.lang.String umaClientId, java.lang.String umaClientSecret, io.jans.as.model.common.AuthenticationMethod authenticationMethod, io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm, java.lang.String audience, io.jans.as.model.uma.UmaScopeType scopeType, java.lang.String... scopeArray)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • requestPat

        public static io.jans.as.model.uma.wrapper.Token requestPat​(java.lang.String tokenUrl,
                                                                    java.lang.String clientKeyStoreFile,
                                                                    java.lang.String clientKeyStorePassword,
                                                                    java.lang.String clientId,
                                                                    java.lang.String keyId)
                                                             throws UmaException
        Throws:
        UmaException
      • requestPat

        @Deprecated
        public static io.jans.as.model.uma.wrapper.Token requestPat​(java.lang.String authorizeUrl,
                                                                    java.lang.String tokenUrl,
                                                                    java.lang.String umaUserId,
                                                                    java.lang.String umaUserSecret,
                                                                    java.lang.String umaClientId,
                                                                    java.lang.String umaClientSecret,
                                                                    java.lang.String umaRedirectUri,
                                                                    java.lang.String... scopeArray)
        Deprecated.
        use request() method directly
      • requestPat

        public static io.jans.as.model.uma.wrapper.Token requestPat​(java.lang.String tokenUrl,
                                                                    java.lang.String umaClientId,
                                                                    java.lang.String umaClientSecret,
                                                                    java.lang.String... scopeArray)
      • requestPat

        public static io.jans.as.model.uma.wrapper.Token requestPat​(java.lang.String tokenUrl,
                                                                    java.lang.String umaClientId,
                                                                    java.lang.String umaClientSecret,
                                                                    org.jboss.resteasy.client.jaxrs.ClientHttpEngine engine,
                                                                    java.lang.String... scopeArray)
      • request

        @Deprecated
        public static io.jans.as.model.uma.wrapper.Token request​(java.lang.String authorizeUrl,
                                                                 java.lang.String tokenUrl,
                                                                 java.lang.String umaUserId,
                                                                 java.lang.String umaUserSecret,
                                                                 java.lang.String umaClientId,
                                                                 java.lang.String umaClientSecret,
                                                                 java.lang.String umaRedirectUri,
                                                                 io.jans.as.model.uma.UmaScopeType type,
                                                                 java.lang.String... scopeArray)
        Deprecated.
        use request() method directly
      • request

        public static io.jans.as.model.uma.wrapper.Token request​(java.lang.String tokenUrl,
                                                                 java.lang.String umaClientId,
                                                                 java.lang.String umaClientSecret,
                                                                 io.jans.as.model.uma.UmaScopeType scopeType,
                                                                 org.jboss.resteasy.client.jaxrs.ClientHttpEngine engine,
                                                                 java.lang.String... scopeArray)
      • requestWithClientSecretJwt

        public static io.jans.as.model.uma.wrapper.Token requestWithClientSecretJwt​(java.lang.String tokenUrl,
                                                                                    java.lang.String umaClientId,
                                                                                    java.lang.String umaClientSecret,
                                                                                    io.jans.as.model.common.AuthenticationMethod authenticationMethod,
                                                                                    io.jans.as.model.crypto.signature.SignatureAlgorithm signatureAlgorithm,
                                                                                    java.lang.String audience,
                                                                                    io.jans.as.model.uma.UmaScopeType scopeType,
                                                                                    java.lang.String... scopeArray)
      • request

        public static io.jans.as.model.uma.wrapper.Token request​(java.lang.String tokenUrl,
                                                                 TokenRequest tokenRequest)