You are here

public static function Utilities::generateID in SAML SP 2.0 Single Sign On (SSO) - SAML Service Provider 8

1 call to Utilities::generateID()
Utilities::createAuthnRequest in src/Utilities.php

File

src/Utilities.php, line 242

Class

Utilities
This file is part of miniOrange SAML plugin.

Namespace

Drupal\miniorange_saml

Code

public static function generateID() {
  return '_' . self::stringToHex(self::generateRandomBytes(21));
}