Class ValidateGrantTypeTest

    • Field Detail

      • action

        private net.shibboleth.idp.plugin.oidc.op.profile.impl.ValidateGrantType action
        Action to test.
      • metaData

        private com.nimbusds.openid.connect.sdk.rp.OIDCClientMetadata metaData
        Metadata.
    • Constructor Detail

      • ValidateGrantTypeTest

        public ValidateGrantTypeTest()
    • Method Detail

      • testSuccess

        public void testSuccess()
        Test that action accepts the "refresh_token" grant type.
      • testSuccessNoMetadata

        public void testSuccessNoMetadata()
        Test that action accepts the "refresh_token" grant type based on profile config.
      • testFailureNoMetadata

        public void testFailureNoMetadata()
        Test that action accepts the "refresh_token" grant type based on profile config.
      • testFailure

        public void testFailure()
                         throws com.nimbusds.oauth2.sdk.ParseException
        Test that action rejects the "refresh_token" grant type.
        Throws:
        com.nimbusds.oauth2.sdk.ParseException