Storage configuration parameters with platform-specific options
Optionaloptions: StorageLoggerOptionsA branded OidcStorage handle with native storage id metadata
const oidcStorage = configureOidcStorage({
android: {
keyAlias: 'oidc_key',
fileName: 'oidc_tokens',
},
ios: {
account: 'com.example.app',
encryptor: true,
cacheable: false
}
});
// Pass to OIDC configuration
// configureOidc({ storage: oidcStorage, ... });
TODO: Analyze implications of turning storage operations async to better handle errors from native bridge calls.
Registers and resolves an OIDC storage handle.
This function handles registration internally and returns a normalized storage configuration that can be passed to other modules or SDKs.