func (server UbuntuSSOServer) IsTokenValid(ssodata *SSOData) (bool, error) {
	details, err := server.GetTokenDetails(ssodata)
	if details != "" && err == nil {
		return true, nil
	} else {
		return false, err
	}
}
// Verify the validity of the token, abusing the API to get the token details.
Verify the validity of the token, abusing the API to get the token details.
// Verify the validity of the token abusing the API to get the token details .
func (server UbuntuSSOServer) IsTokenValid(ssodata *SSOData) (bool, error) {
	details, err := server.GetTokenDetails(ssodata)
	if details != "" && err == nil {
		return true, nil
	} else {
		return false, err
	}
}
func ( server UbuntuSSOServer ) IsTokenValid ( ssodata * SSOData ) ( bool , error ) { details , err := server . GetTokenDetails ( ssodata ) if details != " " && err == nil { return true , nil } else { return false , err } }
Verify the validity of the token, abusing the API to get the token details.
Verify the validity of the token abusing the API to get the token details .