private static function create_endpoints_for_google($issuer) {

        $record = (object) [
            'issuerid' => $issuer->get('id'),
            'name' => 'discovery_endpoint',
            'url' => 'https://accounts.google.com/.well-known/openid-configuration'
        ];
        $endpoint = new endpoint(0, $record);
        $endpoint->create();
        return $issuer;
    }
private static function create_endpoints_for_google($issuer) {

        $record = (object) [
            'issuerid' => $issuer->get('id'),
            'name' => 'discovery_endpoint',
            'url' => 'https://accounts.google.com/.well-known/openid-configuration'
        ];
        $endpoint = new endpoint(0, $record);
        $endpoint->create();
        return $issuer;
    }
private static function create_endpoints_for_google ( $ issuer ) { $ record = ( object ) [ 'issuerid' => $ issuer -> get ( 'id' ) , 'name' => 'discovery_endpoint' , 'url' => 'https://accounts.google.com/.well-known/openid-configuration' ] ; $ endpoint = new endpoint ( 0 , $ record ) ; $ endpoint -> create ( ) ; return $ issuer ; }
Create endpoints for google issuers.
@param issuer $issuer issuer the endpoints should be created for.
@return mixed
@throws \coding_exception
@throws \core\invalid_persistent_exception
Create endpoints for google issuers .