Index
A
- AuthorizationCode — Class in namespace Bmatovu\OAuthNegotiator\GrantTypes
- Class AuthorizationCode.
- $Token#access_token — Property in class Token
- Access token.
C
- ClientCredentials — Class in namespace Bmatovu\OAuthNegotiator\GrantTypes
- Class ClientCredentials.
- FileTokenRepository::create() — Method in class FileTokenRepository
- Create token.
- TokenRepositoryInterface::create() — Method in class TokenRepositoryInterface
- Create token.
D
- FileTokenRepository::delete() — Method in class FileTokenRepository
- Destroy token.
- TokenRepositoryInterface::delete() — Method in class TokenRepositoryInterface
- Destroy token.
E
- $Token#expires_at — Property in class Token
- Expires at.
F
- FileTokenRepository — Class in namespace Bmatovu\OAuthNegotiator\Repositories
- Class FileTokenRepository.
G
- AuthorizationCode::getToken() — Method in class AuthorizationCode
- Obtain the token data returned by the OAuth2 server.
- ClientCredentials::getToken() — Method in class ClientCredentials
- Obtain the token data returned by the OAuth2 server.
- GrantTypeInterface — Class in namespace Bmatovu\OAuthNegotiator\GrantTypes
- Interface GrantTypeInterface.
- GrantTypeInterface::getToken() — Method in class GrantTypeInterface
- Obtain the token data returned by the OAuth2 server.
- Password::getToken() — Method in class Password
- Obtain the token data returned by the OAuth2 server.
- RefreshToken::getToken() — Method in class RefreshToken
- Obtain the token data returned by the OAuth2 server.
- Token::getAccessToken() — Method in class Token
- Get access token.
- Token::getRefreshToken() — Method in class Token
- Get refresh token.
- Token::getTokenType() — Method in class Token
- Get token type.
- Token::getExpiresAt() — Method in class Token
- Get expires at.
- TokenInterface::getAccessToken() — Method in class TokenInterface
- Get access token.
- TokenInterface::getRefreshToken() — Method in class TokenInterface
- Get refresh token.
- TokenInterface::getTokenType() — Method in class TokenInterface
- Get token type.
- TokenInterface::getExpiresAt() — Method in class TokenInterface
- Get expires at.
- $OAuth2Middleware#grantType — Property in class OAuth2Middleware
- Primary grant type.
- OAuth2Middleware::getGrantType() — Method in class OAuth2Middleware
- Get main grant type.
- OAuth2Middleware::getRefreshTokenGrantType() — Method in class OAuth2Middleware
- Get refresh token grant type.
- OAuth2Middleware::getToken() — Method in class OAuth2Middleware
- Get a valid access token.
- OAuth2Middleware::getTokenRepository() — Method in class OAuth2Middleware
- Get token repository.
- FileTokenRepository::getTokenFile() — Method in class FileTokenRepository
- Get token file.
I
- Token::isExpired() — Method in class Token
- Determine if a token is expired.
- TokenInterface::isExpired() — Method in class TokenInterface
- Determine if token is expired.
O
- OAuth2Middleware — Class in namespace Bmatovu\OAuthNegotiator
- Class OAuth2Middleware.
P
- Password — Class in namespace Bmatovu\OAuthNegotiator\GrantTypes
- Class Password.
R
- RefreshToken — Class in namespace Bmatovu\OAuthNegotiator\GrantTypes
- Class RefreshToken.
- $Token#refresh_token — Property in class Token
- Refresh token.
- $OAuth2Middleware#refreshTokenGrantType — Property in class OAuth2Middleware
- Refresh token (secondary) grant type.
- OAuth2Middleware::requestNewToken() — Method in class OAuth2Middleware
- Acquire a new access token from the oauth2 server.
- FileTokenRepository::retrieve() — Method in class FileTokenRepository
- Retrieve token.
- TokenRepositoryInterface::retrieve() — Method in class TokenRepositoryInterface
- Retrieve token.
S
- Token::setAccessToken() — Method in class Token
- Set access token.
- Token::setRefreshToken() — Method in class Token
- Set refresh token.
- Token::setTokenType() — Method in class Token
- Set token type.
- Token::setExpiresAt() — Method in class Token
- Set expires at.
- OAuth2Middleware::setGrantType() — Method in class OAuth2Middleware
- Set main grant type.
- OAuth2Middleware::setRefreshTokenGrantType() — Method in class OAuth2Middleware
- Set refresh token grant type.
- OAuth2Middleware::setToken() — Method in class OAuth2Middleware
- Set token.
- OAuth2Middleware::setTokenRepository() — Method in class OAuth2Middleware
- Set token repository.
- OAuth2Middleware::signRequest() — Method in class OAuth2Middleware
- Add auth headers.
- FileTokenRepository::setTokenFile() — Method in class FileTokenRepository
- Set token file.
T
- TokenNotFoundException — Class in namespace Bmatovu\OAuthNegotiator\Exceptions
- Class TokenNotFoundException.
- TokenRequestException — Class in namespace Bmatovu\OAuthNegotiator\Exceptions
- Class TokenRequestException.
- Token — Class in namespace Bmatovu\OAuthNegotiator\Models
- Class Token.
- $Token#token_type — Property in class Token
- Token type.
- TokenInterface — Class in namespace Bmatovu\OAuthNegotiator\Models
- Interface TokenInterface.
- $OAuth2Middleware#tokenRepository — Property in class OAuth2Middleware
- Token repository.
- $OAuth2Middleware#token — Property in class OAuth2Middleware
- Token model.
- $FileTokenRepository#tokenFile — Property in class FileTokenRepository
- Token file.
- TokenRepositoryInterface — Class in namespace Bmatovu\OAuthNegotiator\Repositories
- Interface TokenRepositoryInterface.
U
- FileTokenRepository::update() — Method in class FileTokenRepository
- Updates token.
- TokenRepositoryInterface::update() — Method in class TokenRepositoryInterface
- Updates token.
_
- TokenNotFoundException::__construct() — Method in class TokenNotFoundException
- Constructor.
- TokenRequestException::__construct() — Method in class TokenRequestException
- Constructor.
- AuthorizationCode::__construct() — Method in class AuthorizationCode
- Constructor.
- ClientCredentials::__construct() — Method in class ClientCredentials
- Constructor.
- Password::__construct() — Method in class Password
- Constructor.
- RefreshToken::__construct() — Method in class RefreshToken
- Constructor.
- Token::__construct() — Method in class Token
- Constructor.
- OAuth2Middleware::__construct() — Method in class OAuth2Middleware
- Constructor.
- OAuth2Middleware::__invoke() — Method in class OAuth2Middleware
- Guzzle middleware invocation.
- FileTokenRepository::__construct() — Method in class FileTokenRepository
- Constructor.