You are here

static function handler::miniorange_oauth_client_validate_grant in Drupal OAuth & OpenID Connect Login - OAuth2 Client SSO Login 8

File

src/handler.php, line 57

Class

handler

Namespace

Drupal\miniorange_oauth_client

Code

static function miniorange_oauth_client_validate_grant($grant_type) {
  if ($grant_type != "authorization_code") {
    print_r("Only Authorization Code grant type supported");
    exit;
  }
}