firebase:: auth:: PhoneAuthProvider:: ForceResendingToken
#include <credential.h>
Token to maintain current phone number verification session.
Summary
Acquired via Listener::OnCodeSent. Used in VerifyPhoneNumber.
Constructors and Destructors |
|
---|---|
ForceResendingToken()
This token will be invalid until it is assigned a value sent via Listener::OnCodeSent.
|
|
ForceResendingToken(const ForceResendingToken & rhs)
Make
this token refer to the same phone session as rhs . |
|
~ForceResendingToken()
Releases internal resources when destructing.
|
Public functions |
|
---|---|
operator!=(const ForceResendingToken & rhs) const
|
bool
Return true if
rhs is refers to a different phone number session as this . |
operator=(const ForceResendingToken & rhs)
|
Make
this token refer to the same phone session as rhs . |
operator==(const ForceResendingToken & rhs) const
|
bool
Return true if
rhs is refers to the same phone number session as this . |
Public functions
ForceResendingToken
ForceResendingToken()
This token will be invalid until it is assigned a value sent via Listener::OnCodeSent.
It can still be passed into VerifyPhoneNumber, but it will be ignored.
ForceResendingToken
ForceResendingToken( const ForceResendingToken & rhs )
Make this
token refer to the same phone session as rhs
.
operator!=
bool operator!=( const ForceResendingToken & rhs ) const
Return true if rhs
is refers to a different phone number session as this
.
operator=
ForceResendingToken & operator=( const ForceResendingToken & rhs )
Make this
token refer to the same phone session as rhs
.
operator==
bool operator==( const ForceResendingToken & rhs ) const
Return true if rhs
is refers to the same phone number session as this
.
~ForceResendingToken
~ForceResendingToken()
Releases internal resources when destructing.