API for the Security Token returned by the STS service.
More...
|
typedef struct _ato_StmTkn | ato_StmTkn |
| The Security Token object.
|
|
API for the Security Token returned by the STS service.
◆ ato_stmtkn_xml()
Given a SecurityToken object, serialise the data - see also ato_stm_loadst().
- Parameters
-
- Returns
- The ATO RSTR serialised SecurityToken.
◆ ato_stmtkn_key()
ATO_STM_EXPORT const char* ato_stmtkn_key |
( |
ato_StmTkn * |
st | ) |
|
Given a SecurityToken object, retrieve the key used in an ST cache.
- Parameters
-
- Returns
- ST key.
◆ ato_stmtkn_prooftoken()
Given a SecurityToken object, retrieve the embedded proof token.
- Parameters
-
- Returns
- Proof Token.
◆ ato_stmtkn_assertion()
Given a SecurityToken object, retrieve the encrypted assertion.
- Parameters
-
- Returns
- Assertion.
◆ ato_stmtkn_samlid()
ATO_STM_EXPORT const char* ato_stmtkn_samlid |
( |
ato_StmTkn * |
st | ) |
|
Given a SecurityToken object, retrieve the Assertion (SAML) ID.
This is stored in the KeyIdentifier Element of the RSTR.
- Parameters
-
- Returns
- Assertion (SAML) ID.
◆ ato_stmtkn_isexpired()
ATO_STM_EXPORT bool ato_stmtkn_isexpired |
( |
ato_StmTkn * |
st | ) |
|
Check if the SecurityToken has expired - see also ato_stm_setexpirytime() and ato_stmtkn_expirytime().
- Parameters
-
- Returns
- TRUE or FALSE.
◆ ato_stmtkn_expirytime()
ATO_STM_EXPORT time_t ato_stmtkn_expirytime |
( |
ato_StmTkn * |
st | ) |
|
Get the local time the SecurityToken is to expire - see also ato_stmtkn_isexpired() and ato_stm_setexpirytime().
- Parameters
-
- Returns
- the expiry time (granularity is seconds).