IDPStorage
public protocol IDPStorage
IDP Storage protocol
-
Retrieve and set an IDP Token [REQ:gemSpec_eRp_FdV:A_19480] usage of this token is limited to FD/IDP Access.
Declaration
Swift
var token: AnyPublisher<IDPToken?, Never> { get }
-
Set and save the IDPToken
Declaration
Swift
func set(token: IDPToken?)
-
Retrieve a previously saved DiscoveryDocument
Declaration
Swift
var discoveryDocument: AnyPublisher<DiscoveryDocument?, Never> { get }
-
Set and save the DiscoveryDocument
Declaration
Swift
func set(discovery document: DiscoveryDocument?)
Parameters
document
document to save. Pass in nil to unset