GALANTHUS / ABI FUNCTION REFERENCE
gln_get_tan_mode_selection_security_function
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API const char* GLN_CALL gln_get_tan_mode_selection_security_function(
const gln_tan_mode_selection_t* in_selection);
Purpose
Returns the selected TAN security function from a gln_tan_mode_selection_t view.
Return
Returns the security-function code stored by the successful TAN mode selection result.
| Type | Nullability | Ownership |
|---|---|---|
const char* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_selection | input | const gln_tan_mode_selection_t* | nullable | borrowed |
Selection Fields
Returns the security-function code stored by the successful TAN mode selection result.
Treat the value as an open bank/provider code. For a valid selection view the pointer is expected to be non-null; an empty string means no selected security-function text was materialized.
Notes
Passing NULL for in_selection is allowed and returns NULL.
This is the value accepted by gln_set_tan_mode and stored in backend state for the selected FinTS TAN mechanism.
The returned string is borrowed from the owning backend result envelope and becomes invalid when that envelope is destroyed.