// CancelVerification checks whether the provided Token is valid and clears
// the active verification Token data.
// NOTE: provided Token must be in its original / raw form - not combined
// with user's ID (as InitVerification method returns).
CancelVerification checks whether the provided Token is valid and clears
the active verification Token data.
NOTE: provided Token must be in its original / raw form - not combined
with user's ID (as InitVerification method returns).
// CancelVerification checks whether the provided Token is valid and clears // the active verification Token data . // NOTE : provided Token must be in its original / raw form - not combined // with user ' s ID ( as InitVerification method returns ) .
func (c *Core) CancelVerification(t string) error {
	if err := c.Verification.Check(t); err != nil {
		return err
	}
	c.Verification.Clear()
	return nil
}
func ( c * Core ) CancelVerification ( t string ) error { if err := c . Verification . Check ( t ) ; err != nil { return err } c . Verification . Clear ( ) return nil }
CancelVerification checks whether the provided Token is valid and clears
the active verification Token data.
CancelVerification checks whether the provided Token is valid and clears the active verification Token data .