You are here

public function SimpleOauthAuthenticationTest::testGetTokenValue in Simple OAuth (OAuth2) & OpenID Connect 8

@covers ::getTokenValue @covers ::applies

@dataProvider getTokenValueProvider

File

tests/src/Unit/Authentication/Provider/SimpleOauthAuthenticationTest.php, line 34

Class

SimpleOauthAuthenticationTest
Class SimpleOauthAuthenticationTest.

Namespace

Drupal\Tests\simple_oauth\Unit\Authentication\Provider

Code

public function testGetTokenValue(Request $request, $token) {
  $this
    ->assertSame($token, $this->provider
    ->getTokenValue($request));
}