Web
Images
Videos
Academic
Dict
Maps
More
Flights
Notebook
requireAuth
Sample Sentence
Definition:
All
All
Category:
All
All
,
Oral
Oral
,
Written
Written
,
Title
Title
,
Technical
Technical
Source:
All
All
,
Dictionary
Dictionary
,
Web
Web
Difficulty:
All
All
,
Easy
Easy
,
Middle
Middle
,
Hard
Hard
More sentence filters
Hide sentence filters
1.
Like the requirePost
method
,
requireAuth
is
passed
a
list
of
actions
within the
controller
you
want
to
protect
.
与
requirePost
方法
一样
,
向
requireAuth
传递
一个
需要
保护
的
控制器
操作
列表
。
yǔ
requirePost
fāng fǎ
yí yàng
,
xiàng
requireAuth
chuán dì
yī gè
xū yào
bǎo hù
de
kòng zhì qì
cāo zuò
liè biǎo
。
www.ibm.com
2.
While
there
are
obvious
advantages
to
using
requireAuth
to
protect
actions
,
there are
also
some
disadvantages
that should be
addressed
.
虽然
使用
requireAuth
保护
操作
有
很
明显
的
优点
,
但是
也
有一些
需要
克服
的
缺点
。
suī rán
shǐ yòng
requireAuth
bǎo hù
cāo zuò
yǒu
hěn
míng xiǎn
de
yōu diǎn
,
dàn shì
yě
yǒu yī xiē
xū yào
kè fú
de
quē diǎn
。
www.ibm.com
3.
Using
requireAuth
and
requirePost
together
is
a
great
way
to
help
lock down your
application
.
结合
使用
requireAuth
和
requirePost
是
一种
非常好
的
帮助
保护
应用程序
的
方法
。
jié hé
shǐ yòng
requireAuth
hé
requirePost
shì
yī zhǒng
fēi cháng hǎo
de
bāng zhù
bǎo hù
yìng yòng chéng xù
de
fāng fǎ
。
www.ibm.com
4.
The
authentication
key
is
regenerated
every
time
a
form
is
evaluated
with
requireAuth
.
每当
表
单被
requireAuth
评估
时
,
都会
生成
验证
密钥
。
měi dāng
biǎo
dān bèi
requireAuth
píng gū
shí
,
dū huì
shēng chéng
yàn zhèng
mì yào
。
www.ibm.com
5.
If
a
request
is
rejected
by requirePost
or
requireAuth
,
the
application
exits
and
the
user
is
sent
a
404
page
.
如果
请求
被
requirePost
或
requireAuth
拒绝
,
则
应用程序
退出
并
向
用户
发送
一个
404
页面
。
rú guǒ
qǐng qiú
bèi
requirePost
huò
requireAuth
jù jué
,
zé
yìng yòng chéng xù
tuì chū
bìng
xiàng
yòng hù
fā sòng
yī gè
sì bǎi líng sì
yè miàn
。
www.ibm.com