getUserConsent

abstract fun getUserConsent(): Boolean

Return the current user consent for the current identity server, which has been stored using setUserConsent. If setUserConsent has not been called, the returned value will be false. Note that if the identity server is changed, the user consent is reset to false.

Return

the value stored using setUserConsent or false if setUserConsent has never been called, or if the identity server has been changed