You are here

static function handler::miniorange_oauth_client_validate_grant in OAuth2 Login 8

File

src/handler.php, line 127

Class

handler

Namespace

Drupal\oauth2_login

Code

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