\OAuth2ServerTest

Summary

Methods
Properties
Constants
testGetAuthorizeControllerWithNoClientStorageThrowsException()
testGetAuthorizeControllerWithNoAccessTokenStorageThrowsException()
testGetAuthorizeControllerWithClientStorageAndAccessTokenResponseType()
testGetAuthorizeControllerWithClientStorageAndAuthorizationCodeResponseType()
testGetAuthorizeControllerWithClientStorageAndAccessTokenStorageThrowsException()
testGetAuthorizeControllerWithClientStorageAndAccessTokenStorage()
testGetAuthorizeControllerWithClientStorageAndAuthorizationCodeStorage()
testGetTokenControllerWithGrantTypeStorageThrowsException()
testGetTokenControllerWithNoClientCredentialsStorageThrowsException()
testGetTokenControllerWithNoAccessTokenStorageThrowsException()
testGetTokenControllerWithAccessTokenAndClientCredentialsStorage()
testGetTokenControllerAccessTokenStorageAndClientCredentialsStorageAndGrantTypes()
testGetResourceControllerWithNoAccessTokenStorageThrowsException()
testGetResourceControllerWithAccessTokenStorage()
testAddingStorageWithInvalidClass()
testAddingStorageWithInvalidKey()
testAddingStorageWithInvalidKeyStorageCombination()
testAddingStorageWithValidKeyOnlySetsThatKey()
testAddingClientStorageSetsClientCredentialsStorageByDefault()
testAddStorageWithNullValue()
testNewServerWithNullStorageValue()
testAddingClientCredentialsStorageSetsClientStorageByDefault()
testSettingClientStorageByDefaultDoesNotOverrideSetStorage()
testAddingResponseType()
testCustomClientAssertionType()
testHttpBasicConfig()
testRefreshTokenConfig()
testValidRefreshTokenWithNewRefreshTokenInResponse()
testAddingUnknownResponseTypeThrowsException()
testUsingJwtAccessTokensWithoutPublicKeyStorageThrowsException()
testUsingJustJwtAccessTokenStorageWithResourceControllerIsOkay()
testUsingJustJwtAccessTokenStorageWithAuthorizeControllerThrowsException()
testUsingJustJwtAccessTokenStorageWithTokenControllerThrowsException()
testUsingJwtAccessTokenAndClientStorageWithAuthorizeControllerIsOkay()
testUsingOpenIDConnectWithoutUserClaimsThrowsException()
testUsingOpenIDConnectWithoutPublicKeyThrowsException()
testUsingOpenIDConnectWithoutIssuerThrowsException()
testUsingOpenIDConnectWithIssuerPublicKeyAndUserClaimsIsOkay()
testUsingOpenIDConnectWithAllowImplicitWithoutTokenStorageThrowsException()
testUsingOpenIDConnectWithAllowImplicitAndUseJwtAccessTokensIsOkay()
testUsingOpenIDConnectWithAllowImplicitAndAccessTokenStorageIsOkay()
testUsingOpenIDConnectWithAllowImplicitAndAccessTokenResponseTypeIsOkay()
testUsingOpenIDConnectWithAuthorizationCodeStorageThrowsException()
testUsingOpenIDConnectWithOpenIDAuthorizationCodeStorageCreatesOpenIDAuthorizationCodeGrantType()
testMultipleValuedResponseTypeOrderDoesntMatter()
testAddGrantTypeWithoutKey()
testAddGrantTypeWithKey()
testAddGrantTypeWithKeyNotString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

testGetAuthorizeControllerWithNoClientStorageThrowsException()

testGetAuthorizeControllerWithNoClientStorageThrowsException() 

testGetAuthorizeControllerWithNoAccessTokenStorageThrowsException()

testGetAuthorizeControllerWithNoAccessTokenStorageThrowsException() 

testGetAuthorizeControllerWithClientStorageAndAccessTokenResponseType()

testGetAuthorizeControllerWithClientStorageAndAccessTokenResponseType() 

testGetAuthorizeControllerWithClientStorageAndAuthorizationCodeResponseType()

testGetAuthorizeControllerWithClientStorageAndAuthorizationCodeResponseType() 

testGetAuthorizeControllerWithClientStorageAndAccessTokenStorageThrowsException()

testGetAuthorizeControllerWithClientStorageAndAccessTokenStorageThrowsException() 

testGetAuthorizeControllerWithClientStorageAndAccessTokenStorage()

testGetAuthorizeControllerWithClientStorageAndAccessTokenStorage() 

testGetAuthorizeControllerWithClientStorageAndAuthorizationCodeStorage()

testGetAuthorizeControllerWithClientStorageAndAuthorizationCodeStorage() 

testGetTokenControllerWithGrantTypeStorageThrowsException()

testGetTokenControllerWithGrantTypeStorageThrowsException() 

testGetTokenControllerWithNoClientCredentialsStorageThrowsException()

testGetTokenControllerWithNoClientCredentialsStorageThrowsException() 

testGetTokenControllerWithNoAccessTokenStorageThrowsException()

testGetTokenControllerWithNoAccessTokenStorageThrowsException() 

testGetTokenControllerWithAccessTokenAndClientCredentialsStorage()

testGetTokenControllerWithAccessTokenAndClientCredentialsStorage() 

testGetTokenControllerAccessTokenStorageAndClientCredentialsStorageAndGrantTypes()

testGetTokenControllerAccessTokenStorageAndClientCredentialsStorageAndGrantTypes() 

testGetResourceControllerWithNoAccessTokenStorageThrowsException()

testGetResourceControllerWithNoAccessTokenStorageThrowsException() 

testGetResourceControllerWithAccessTokenStorage()

testGetResourceControllerWithAccessTokenStorage() 

testAddingStorageWithInvalidClass()

testAddingStorageWithInvalidClass() 

testAddingStorageWithInvalidKey()

testAddingStorageWithInvalidKey() 

testAddingStorageWithInvalidKeyStorageCombination()

testAddingStorageWithInvalidKeyStorageCombination() 

testAddingStorageWithValidKeyOnlySetsThatKey()

testAddingStorageWithValidKeyOnlySetsThatKey() 

testAddingClientStorageSetsClientCredentialsStorageByDefault()

testAddingClientStorageSetsClientCredentialsStorageByDefault() 

testAddStorageWithNullValue()

testAddStorageWithNullValue() 

testNewServerWithNullStorageValue()

testNewServerWithNullStorageValue() 

testAddingClientCredentialsStorageSetsClientStorageByDefault()

testAddingClientCredentialsStorageSetsClientStorageByDefault() 

testSettingClientStorageByDefaultDoesNotOverrideSetStorage()

testSettingClientStorageByDefaultDoesNotOverrideSetStorage() 

testAddingResponseType()

testAddingResponseType() 

testCustomClientAssertionType()

testCustomClientAssertionType() 

testHttpBasicConfig()

testHttpBasicConfig() 

testRefreshTokenConfig()

testRefreshTokenConfig() 

testValidRefreshTokenWithNewRefreshTokenInResponse()

testValidRefreshTokenWithNewRefreshTokenInResponse() 

Test setting "always_issue_new_refresh_token" on a server level

testAddingUnknownResponseTypeThrowsException()

testAddingUnknownResponseTypeThrowsException() 

testUsingJwtAccessTokensWithoutPublicKeyStorageThrowsException()

testUsingJwtAccessTokensWithoutPublicKeyStorageThrowsException() 

testUsingJustJwtAccessTokenStorageWithResourceControllerIsOkay()

testUsingJustJwtAccessTokenStorageWithResourceControllerIsOkay() 

testUsingJustJwtAccessTokenStorageWithAuthorizeControllerThrowsException()

testUsingJustJwtAccessTokenStorageWithAuthorizeControllerThrowsException() 

testUsingJustJwtAccessTokenStorageWithTokenControllerThrowsException()

testUsingJustJwtAccessTokenStorageWithTokenControllerThrowsException() 

testUsingJwtAccessTokenAndClientStorageWithAuthorizeControllerIsOkay()

testUsingJwtAccessTokenAndClientStorageWithAuthorizeControllerIsOkay() 

testUsingOpenIDConnectWithoutUserClaimsThrowsException()

testUsingOpenIDConnectWithoutUserClaimsThrowsException() 

testUsingOpenIDConnectWithoutPublicKeyThrowsException()

testUsingOpenIDConnectWithoutPublicKeyThrowsException() 

testUsingOpenIDConnectWithoutIssuerThrowsException()

testUsingOpenIDConnectWithoutIssuerThrowsException() 

testUsingOpenIDConnectWithIssuerPublicKeyAndUserClaimsIsOkay()

testUsingOpenIDConnectWithIssuerPublicKeyAndUserClaimsIsOkay() 

testUsingOpenIDConnectWithAllowImplicitWithoutTokenStorageThrowsException()

testUsingOpenIDConnectWithAllowImplicitWithoutTokenStorageThrowsException() 

testUsingOpenIDConnectWithAllowImplicitAndUseJwtAccessTokensIsOkay()

testUsingOpenIDConnectWithAllowImplicitAndUseJwtAccessTokensIsOkay() 

testUsingOpenIDConnectWithAllowImplicitAndAccessTokenStorageIsOkay()

testUsingOpenIDConnectWithAllowImplicitAndAccessTokenStorageIsOkay() 

testUsingOpenIDConnectWithAllowImplicitAndAccessTokenResponseTypeIsOkay()

testUsingOpenIDConnectWithAllowImplicitAndAccessTokenResponseTypeIsOkay() 

testUsingOpenIDConnectWithAuthorizationCodeStorageThrowsException()

testUsingOpenIDConnectWithAuthorizationCodeStorageThrowsException() 

testUsingOpenIDConnectWithOpenIDAuthorizationCodeStorageCreatesOpenIDAuthorizationCodeGrantType()

testUsingOpenIDConnectWithOpenIDAuthorizationCodeStorageCreatesOpenIDAuthorizationCodeGrantType() 

testMultipleValuedResponseTypeOrderDoesntMatter()

testMultipleValuedResponseTypeOrderDoesntMatter() 

testAddGrantTypeWithoutKey()

testAddGrantTypeWithoutKey() 

testAddGrantTypeWithKey()

testAddGrantTypeWithKey() 

testAddGrantTypeWithKeyNotString()

testAddGrantTypeWithKeyNotString()