State Property

Opaque value used to maintain state between the request and response.

Object Oriented Interface

public function getState();
public function setState($value);

Procedural Interface

ipworksauth_openid_get($res, 67 );
ipworksauth_openid_set($res, 67, $value );

Default Value

''

Remarks

This property optionally holds a string value which will be returned by the authorization server with the response.

Any value may be specified here and it will be returned exactly as it was sent. This can be used to maintain state within the application, and also may be used for security purposes (for instance to prevent Cross-Site Request Forgery). The contents of this property are treated as an opaque value.

When ClientProfile is set to cfApplication the ReturnURL event provides the state value returned by the authorization server.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 PHP Edition - Version 20.0 [Build 8155]